Scaleform::Render::MeshProvider
class MeshProvider;
MeshProvider is a source for vertex data and fills used by a mesh, and which is obtained through its GetData/GetFillData methods. A single MeshProvider represents non-changing shape/mesh data that can be shared by multiple mesh instances. Each mesh can, however, display it with different transform matrices (and tessellations).
MeshProvider can describe both simple and complex meshes. Simple meshes have fill count <=1 and are grouped into Primitive(s) for batching. Complex meshes have multiple fill counts and thus are not batched.
Method |
Description |
Increments the reference count of the mesh provider. | |
Returns the bounds for the passed matrix. | |
Returns the correct bounds for the mesh. | |
Called by the renderer to obtain mesh vertex data; it is essentially an interface to the tessellator. | |
Returns the logical number of fills a shape has, which also serves to determine whether the shape is a simple or a complex shape. | |
Returns the fill data for the primitives in the meshes. | |
Obtains the fill matrix containing the transforms for the meshes. | |
Returns the cached bounds for identity matrix. | |
Returns the number of layers for the shape. | |
Determines whether the shape is at the specified position on the screen. | |
Checks if the meshprovider is valid or not. Used by MeshKeySet, it returns false if pDelegate is null. | |
Removes the mesh vertex data from the mesh provider. | |
Decrements the reference count and releases the resources for the mesh provider. |
Render_Primitive.h