VertexAttributeLayout Struct
Full binding description for one attribute in a vertex layout. More...
Declaration
Public Member Attributes Index
| VertexAttribute | attribute |
|
Logical attribute description. More... | |
| std::uint32_t | location |
|
Shader input location index. More... | |
| std::uint32_t | stride |
|
Byte stride between consecutive elements. More... | |
| std::uint32_t | offset |
|
Byte offset to this attribute within one element. More... | |
| std::uint32_t | divisor |
|
Instance divisor (0 per-vertex, >0 instanced step rate). More... | |
Description
Full binding description for one attribute in a vertex layout.
Definition at line 18 of file VertexAttributeLayout.ixx.
Public Member Attributes
attribute
|
Logical attribute description.
Definition at line 23 of file VertexAttributeLayout.ixx.
divisor
|
Instance divisor (0 per-vertex, >0 instanced step rate).
Definition at line 43 of file VertexAttributeLayout.ixx.
location
|
Shader input location index.
Definition at line 28 of file VertexAttributeLayout.ixx.
offset
|
Byte offset to this attribute within one element.
Definition at line 38 of file VertexAttributeLayout.ixx.
stride
|
Byte stride between consecutive elements.
Definition at line 33 of file VertexAttributeLayout.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.