InputLayoutDesc
Structure representing the input layout description for a single vertex attribute. Needed for a pipeline object.
File location: framework/cauldron/framework/inc/render/pipelinedesc.h
Construction
Return type |
Description |
---|---|
InputLayoutDesc ( VertexAttributeType type, ResourceFormat format, uint32_t inputSlot, uint32_t offset )
|
|
InputLayoutDesc ()
|
Detailed description
Structure representing the input layout description for a single vertex attribute. Needed for a pipeline object.
Data fields
Type |
Description |
---|---|
VertexAttributeType |
AttributeType
Input layout attribute type (defaults to VertexAttributeType::Position).
|
ResourceFormat |
AttributeFmt
Input layout attribute format (defaults to ResourceFormat::RGB32_FLOAT).
|
uint32_t |
AttributeInputSlot
Input layout attribute binding slot.
|
uint32_t |
AttributeOffset
INput layout attribute data offset.
|