LiteFX::Rendering::Backends::DirectX12IndexBufferLayout::create¶
create overloads
Synopses¶
Declared in <litefx/backends/dx12.hpp>
Creates a new index buffer layout
[[dllimport, dllexport]] static auto create(IndexType type);
Creates a copy of an index buffer layout.
[[dllimport, dllexport]] static auto create(DirectX12IndexBufferLayout const& other);
Return Value¶
A shared pointer to the newly created index buffer layout instance.
Parameters¶
| Name | Description |
|---|---|
| type | The type of the indices within the index buffer. |
| other | The index buffer layout to copy. |