Scaleform::Render::RenderQueueItem::Interface Scaleform::Render::Primitive
class Primitive : public RefCountBase<Primitive, StatRender_RenderPipeline_Mem>, public RenderQueueItem::Interface;
Primitive is a collection of meshes such that all of those are drawn as a unit. All elements of the primitive will be drawn with the same fill style.
Data Member |
Description |
List of primitive batches. | |
1,2, or 3 matrices depending on the fill. | |
Array of meshes. | |
Lowest index that was modified, PrimitiveBatch::MeshIndex values greater or equal to this may be incorrect. | |
The type of fill currently held. |
Method |
Description |
Outputs the queued up draw primitives to the HAL for rendering. | |
Obtains the type of fill owned by the primitive. | |
Obtains the HMatrix transform matrix applied to the meshes. | |
Registers new meshes and inserts them into HAL. | |
Returns the mesh used for rendering. | |
Primitive constructor. | |
Retrieves the count of meshes in the primitive. | |
Obtains the vertex format of the mesh. | |
Prepares the draw primitives for rendering, by bringing it into the cache. | |
Removes the mesh data from the primitive. | |
Sets the HMatrix transform matrix applied to the meshes. | |
Sets the mesh used for rendering. | |
Updates PrimitiveBatch::MeshIndex values if necessary. | |
Verifies whether the meshes exist in the primitive batch. |
Structure |
Description |
Combines mesh with Variable-format matrix describing it, storing in one array for efficient modification. |
Render_Primitive.h