enum NVGDrawMode

Determines the shader variation to use for rendering a single pass of a path element.

Values

NameValueDescription
FillShapeStencil 0 Marks the area in which non-convex fill will be drawn.
FillAA 1 Draws the anti-aliased fill border (if antialiasing is enabled).
FillDraw 2 Draws the fill in area marked by FillShapeStencil, and clears the stencil buffer.
StrokeStencil 3 Marks the stencil area in which to draw antialised stroke.
StrokeAA 4 Draws antialiased stroke in area marked by StrokeAA.
ClearStencil 5 Clears stencil to zero.
FillSimple 6 Simple fill shader used for convex shapes and non-antialiased strokes.