FastUIDraw
|
#include <fastuidraw_painter_types.glsl.hpp>
Public Attributes | |
float | dash_offset |
float | first_interval_start |
float | first_interval_start_on_looping |
float | miter_limit |
uint | number_intervals |
float | radius |
uint | stroking_units |
float | total_length |
The realization of fastuidraw::PainterDashedStrokeParams. Use fastuidraw_read_dashed_stroking_params_header() to unpack from the data store buffer. The dashed interval values follow after the header padded to 128-bit boundary in the data store buffer.
Definition at line 84 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::dash_offset |
The dash offset, i.e. the value of fastuidraw::PainterDashedStrokeParams::dash_offset()
Definition at line 108 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::first_interval_start |
The length along the path where the first draw interval of the dash pattern occurs.
Definition at line 122 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::first_interval_start_on_looping |
The length along the path where the first draw interval of the dash pattern occurs after looping over the dash pattern.
Definition at line 129 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::miter_limit |
The miter-limit when stroking miter-joins, i.e. the value of fastuidraw::PainterDashedStrokeParams::miter_limit().
Definition at line 96 of file fastuidraw_painter_types.glsl.hpp.
uint fastuidraw_dashed_stroking_params_header::number_intervals |
The number of intervals in the dash-pattern. Recall that the dash pattern. Each element of the dash-pattern is two floating point values: a length along the path how much to draw and a length along the path how much to skip. The values are packed tightly, i.e. each uvec4 read gives two (draw, space) pairs when bit-casted to a vec4.
Definition at line 140 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::radius |
The RADIUS of stroking (which is half the stroking width), i.e. the value of fastuidraw::PainterDashedStrokeParams::radius().
Definition at line 90 of file fastuidraw_painter_types.glsl.hpp.
uint fastuidraw_dashed_stroking_params_header::stroking_units |
The stroking units of the strok, i.e. the value of fastuidraw::PainterDashedStrokeParams::stroking_units().
Definition at line 102 of file fastuidraw_painter_types.glsl.hpp.
float fastuidraw_dashed_stroking_params_header::total_length |
The length of the dash pattern, where each element of the dash pattern occupies 64-bits (thus the number of uvec4's to read with fastuidraw_fetch_data is half this value.
Definition at line 116 of file fastuidraw_painter_types.glsl.hpp.