#include <CeresEngine/RenderAPI/GPUVertexFormat.hpp>
◆ GPUVertexFormat() [1/4]
| CeresEngine::GPUVertexFormat::GPUVertexFormat |
( |
| ) |
|
|
defaultnoexcept |
◆ GPUVertexFormat() [2/4]
◆ GPUVertexFormat() [3/4]
Create a new VertexFormat from a vector of attributes.
- Parameters
-
| aAttributesList | The vector attributes |
| inputSlot | The vertex input slot |
◆ GPUVertexFormat() [4/4]
Create a new VertexFormat from a vector of attributes.
- Parameters
-
| aAttributesList | The vector attributes |
| inputSlot | The vertex input slot |
◆ operator=()
◆ reflect()
Executes the given processor for every field of the struct.
- Parameters
-
| RTTI | The processor to be ran for every field. |
◆ operator!=
Compares two VertexFormat instances for inequality.
- Parameters
-
| lhs | The left-handside operand |
| rhs | The right-handside operand |
- Returns
true if any members of lhs is not equal equal to rhs
◆ operator==
Compares two VertexFormat instances for equality.
- Parameters
-
| lhs | The left-handside operand |
| rhs | The right-handside operand |
- Returns
true if all members of lhs are equal to rhs
◆ attributes
Specifies the list of vertex attributes.
◆ inputRate
Specifies that vertex attribute addressing is a function of the instance index.
◆ inputSlot
| UInt32 CeresEngine::GPUVertexFormat::inputSlot = 0 |
Vertex buffer input slot.
By default 0.
- Note
- Only supported with: Direct3D 11, Direct3D 12, Vulkan.
-
For OpenGL, the input slots are automatically generated in ascending order and beginning with zero.
◆ stride
| UInt32 CeresEngine::GPUVertexFormat::stride = 0 |
Specifies the vertex data stride (or format size) which describes the byte offset between consecutive vertices.
The documentation for this struct was generated from the following file: