Specification
C Version:
C Implementation Specific Version:
void wisVKCommandListSetIndexBuffer2(WisVKCommandList* self,
void wisDX12CommandListSetIndexBuffer2(WisDX12CommandList* self,
C++ Version:
namespace wis{
void CommandList::SetIndexBuffer2(const wis::IndexBufferAddressDesc* buffer,
wis::IndexType index_type) noexcept;
}
C++ Implementation Specific Version:
namespace wis{
void VKCommandList::SetIndexBuffer2(const wis::IndexBufferAddressDesc* buffer,
wis::IndexType index_type) noexcept;
void DX12CommandList::SetIndexBuffer2(const wis::IndexBufferAddressDesc* buffer,
wis::IndexType index_type) noexcept;
}
Parameters
- this
self self is a pointer to the valid WisCommandList instance.
buffer The index buffer to set.
index_type Defines index type. Used to determine the size of each index in the buffer. Must be either WisIndexTypeUInt16 or WisIndexTypeUInt32.
Description
See Also