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

Detailed Description

Specification


C Version:

C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
void wisVKCommandListSetIndexBuffer(WisVKCommandList* self,
const WisVKIndexBufferDesc* buffer,
WisIndexType index_type);
// Provided by Wisdom 0.7.0.
void wisDX12CommandListSetIndexBuffer(WisDX12CommandList* self,
const WisDX12IndexBufferDesc* buffer,
WisIndexType index_type);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
void CommandList::SetIndexBuffer(const wis::IndexBufferDesc* buffer,
wis::IndexType index_type) noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
void VKCommandList::SetIndexBuffer(const wis::VKIndexBufferDesc* buffer,
wis::IndexType index_type) noexcept;
// Provided by Wisdom 0.7.0.
void DX12CommandList::SetIndexBuffer(const wis::DX12IndexBufferDesc* 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