struct
VertexInputAttributeIdentifies a specific vertex input attribute such as position, normal, etc.
Constructors, destructors, conversion operators
- VertexInputAttribute(uint32_t location, Format format, uint32_t offset)
Function documentation
tp:: VertexInputAttribute:: VertexInputAttribute(uint32_t location,
Format format,
uint32_t offset)
Parameters | |
---|---|
location | The shader vertex input location number. |
format | The format of the attribute data. |
offset | The offset in bytes relative to the start of an element in the vertex input binding. |