LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder::makeDescriptor¶
Creates a descriptor to the descriptor set layout.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
[[dllexport]] virtual DirectX12DescriptorLayout makeDescriptor(
DescriptorType type,
UInt32 binding,
UInt32 descriptorSize,
UInt32 descriptors,
bool unbounded) override;
Return Value¶
The descriptor layout instance.
Parameters¶
| Name | Description |
|---|---|
| type | The type of the descriptor. |
| binding | The binding point for the descriptor. |
| descriptorSize | The size of a single descriptor. |
| descriptors | The number of descriptors to bind. |
| unbounded | true if the descriptor should define an unbounded array and false otherwise. |