Input attribute description for wis::InputLayout.
uint32_t input_slot;
const char* semantic_name;
uint32_t semantic_index;
uint32_t location;
uint32_t offset_bytes;
};
DataFormat
Data format for data. Used as a template for data in several cases. Can be used to describe:
Definition at line 1619 of file api.hpp.
#include <api.hpp>
|
uint32_t | input_slot |
| Input slot number. Must be unique.
|
|
const char * | semantic_name |
| Semantic name of the attribute in HLSL. Must be unique.
|
|
uint32_t | semantic_index |
| Semantic index of the attribute in HLSL. Must be unique.
|
|
uint32_t | location |
| Location of the attribute in HLSL. Must be unique.
|
|
wis::DataFormat | format |
| Data format of the attribute.
|
|
uint32_t | offset_bytes |
| Offset in bytes from the beginning of the vertex.
|
|
◆ format
Data format of the attribute.
Definition at line 1624 of file api.hpp.
◆ input_slot
uint32_t wis::InputAttribute::input_slot |
Input slot number. Must be unique.
Definition at line 1620 of file api.hpp.
◆ location
uint32_t wis::InputAttribute::location |
Location of the attribute in HLSL. Must be unique.
Definition at line 1623 of file api.hpp.
◆ offset_bytes
uint32_t wis::InputAttribute::offset_bytes |
Offset in bytes from the beginning of the vertex.
Definition at line 1625 of file api.hpp.
◆ semantic_index
uint32_t wis::InputAttribute::semantic_index |
Semantic index of the attribute in HLSL. Must be unique.
Definition at line 1622 of file api.hpp.
◆ semantic_name
const char* wis::InputAttribute::semantic_name |
Semantic name of the attribute in HLSL. Must be unique.
Definition at line 1621 of file api.hpp.
The documentation for this struct was generated from the following file:
- /home/runner/work/Wisdom/Wisdom/wisdom/include/wisdom/generated/api/api.hpp