class
render::NVGVectorPathRenderable
VectorPathRenderable implementation that uses NanoVG for rasterizing a VectorPath.
Public
Constructors
NVGVectorPathRenderable
NVGVectorPathRenderable
*********************************************************************
Methods
Prepare
Prepares GPU parameters for rendering.
Must be called before Render().
Render
Records command required for rasterizing the path into pixels.
Before calling this the user is required to have bound a render target containing a color texture and a stencil buffer. Prepare() must be called before this method.
staticGetRttiStatic
Private
Methods
CookRenderBuffers
Converts the raw render data from mRawRenderData into GPU buffers that can be fed to the vector graphics rendering material.
staticPlaybackPathCommands
Plays back the commands in and returns the mesh data and render commands that can be executed for rendering the path.
staticNVGRenderFillCallback
Callback called by NanoVG when a fill command is executed.
This will record the provided vertices and indices into the render context, as well as render commands for rendering that mesh data.
staticNVGRenderStrokeCallback
Callback called by NanoVG when a stroke command is executed.
This will record the provided vertices and indices into the render context, as well as render commands for rendering that mesh data.