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

Detailed Description

Specification


C version:

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

C++ version:

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

Members


  • slot specifies input slot number; it must be unique.
  • stride_bytes describes stride in bytes. Size of one vertex in the slot.
  • input_class describes input class. Defines how the data is read (Per vertex or Per instance).

Description


See Also


See also
Structs: WisInputLayout