wisdom
Loading...
Searching...
No Matches
WisInputSlotDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisInputSlotDesc {
uint32_t slot;
uint32_t stride_bytes;
WisInputClass input_class;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct InputSlotDesc {
std::uint32_t slot;
std::uint32_t stride_bytes;
wis::InputClass input_class;
};
}

Members


  • slot Input slot number. Must be unique.
  • stride_bytes Stride in bytes. Size of one vertex in the slot.
  • input_class Input class. Defines how the data is read (Per vertex or Per instance).

Description


See Also


See also
WisInputLayout