A ShaderFilledPath represents a path that is drawn as a rectangle where the fragment shader acting on the rectangle performs the coverage computation of each pixel. Generally speaking, one should only fill paths via a ShaderFilledPath when a filled path when drawn has very high density of edges.
More...
#include <shader_filled_path.hpp>
A ShaderFilledPath represents a path that is drawn as a rectangle where the fragment shader acting on the rectangle performs the coverage computation of each pixel. Generally speaking, one should only fill paths via a ShaderFilledPath when a filled path when drawn has very high density of edges.
Definition at line 52 of file shader_filled_path.hpp.
◆ ShaderFilledPath()
fastuidraw::ShaderFilledPath::ShaderFilledPath |
( |
const Builder & |
B | ) |
|
|
explicit |
◆ render_data()
Returns the Painter Attribute and PainterIndex data to draw the filled path. The attribute data is packed so that it is to be shaded by a PainterGlyphShader.
- Parameters
-
glyph_atlas | GlyphAtlas to place GPU data |
fill_rule | full rule with which to fill the path |
out_attribs | location to which to write attributes |
out_indices | location to which to write indices |
◆ render_type()
enum glyph_type fastuidraw::ShaderFilledPath::render_type |
( |
void |
| ) |
const |
The documentation for this class was generated from the following file: