PrimitiveBatch

PrimitiveBatch
Scaleform::Render::PrimitiveBatch
Declaration
class PrimitiveBatch : public ListNode<PrimitiveBatch>;
Description

PrimitiveBatch is a set of consecutive meshes.

Data Members
Data Member 
Description 
Large meshes have size that is past the threshold and hence cannot be batched; they can, however, be instanced. 
Type 
Flag bit for the type of rendering performed. 
Destination vertex format applied to the contents of this buffer. 
A node representing mesh cache item. 
Enumerations
Enumeration 
Description 
An enumeration indicating the batch type of rendering performed. 
Methods
Method 
Description 
Calculates the total vertex and index count in the batch. 
Clears the mesh data from the buffer. 
Creates a batch of primitives. 
Obtains the mesh data from the buffer. 
Retrieves the count of meshes in the primitive that owns the current batch. 
Returns the meshes whose batching/instancing size has been adjusted. 
Retrieves the index of the meshes in the primitive that owns the current batch. 
Returns pointer to the next node or the next mesh batch in the PrimitiveBatch. 
Returns a pointer to the previous node or the previous mesh batch in the PrimitiveBatch. 
Returns the primitive that owns the batch. 
Init 
Called by Create instead of constructor for initializing. 
Determines whether the meshes are instanced meshes or not. 
Determines whether the meshes are virtual meshes or not. 
Removes the current batch of primitives and frees its data. 
Sets the mesh data in the buffer. 
File

Render_Primitive.h