|
Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
|
Structure that contains information about how a graphics device should interpret a vertex type's fields. More...
Public Attributes | |
| VertexAttributeType | Type |
| Value defining how the actual value in memory is treated by the GPU and should be treated as in shaders. | |
| bool | Enabled |
| Value indicating whether this attribute is actually enabled. | |
| bool | Normalized |
| If set to true, values in memory will be normalized before being read by shaders. | |
| int | ComponentCount |
| The number of vector components to interpret within memory. May only be 1, 2, 3, or 4. | |
| nint | StructureOffset |
| Contains the memory offset within the vertex's memory where the first vector component will be found. | |
Structure that contains information about how a graphics device should interpret a vertex type's fields.