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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef enum WisIndexType {
WisIndexTypeUInt16 = 2,
WisIndexTypeUInt32 = 4,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class IndexType {
UInt16 = 2,
UInt32 = 4,
};
}

Description


Index type for index buffer. Enum values resemble the byte stride of the format.

Note
Translates to DXGI_FORMAT for DirectX 12 implementation, and VkIndexType for Vulkan implementation.

Values:

  • WisIndexTypeUInt16 = 2: 16-bit unsigned integer index type.
  • WisIndexTypeUInt32 = 4: 32-bit unsigned integer index type.

See Also


See also
Functions: wisCommandListSetIndexBuffer, wisCommandListSetIndexBuffer2