The OpenD Programming Language

nvgCreateContext

Creates NanoVega contexts for OpenGL2+.

Specify creation flags as additional arguments, like this: nvgCreateContext(NVGContextFlag.Antialias, NVGContextFlag.StencilStrokes);

If you won't specify any flags, defaults will be used: [NVGContextFlag.Antialias, NVGContextFlag.StencilStrokes].

nothrow @trusted @nogc
nvgCreateContext

See Also

Meta