class
render::DrawCommand
Contains all information needed for rendering a single sub-mesh.
Closely tied with Renderer.
Public
Methods
Draw
Encodes the draw call for the render element.
Fields
DefaultVariationIndex
u32 DefaultVariationIndex
Index of the variation in the material to render the element with.
WriteVelocityVariationIndex
u32 WriteVelocityVariationIndex
Index of the variation in the material to render the element with when velocity writes are supported.
ParameterAdapter
SPtr<MaterialParameterAdapter> ParameterAdapter
All GPU parameters from the material used by the renderable.
PerObjectBufferOffset
u32 PerObjectBufferOffset
Byte offset of this element's per-object data within the shared buffer.
Protected
Methods
~DrawCommand
virtual ~DrawCommand() = default