The OpenD Programming Language

NVGContextFlag

Context creation flags.

Values

ValueMeaning
None0

Nothing special, i.e. empty flag.

Antialias1U << 0

Flag indicating if geometry based anti-aliasing is used (may not be needed when using MSAA).

StencilStrokes1U << 1

Flag indicating if strokes should be drawn using stencil buffer. The rendering will be a little * slower, but path overlaps (i.e. self-intersecting or sharp turns) will be drawn just once.

Debug1U << 2

Flag indicating that additional debug checks are done.

FontAA1U << 7

Filter (antialias) fonts

FontNoAA1U << 8

Don't filter (antialias) fonts

Default1U << 31

You can use this as a substitute for default flags, for cases like this: nvgCreateContext(NVGContextFlag.Default, NVGContextFlag.Debug);.

See Also

Meta