LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder::makeDescriptor¶
makeDescriptor overloads
Synopses¶
Declared in <litefx/backends/dx12_builders.hpp>
Creates a descriptor to the descriptor set layout.
[[dllexport]] virtual DirectX12DescriptorLayout makeDescriptor(
DescriptorType type,
UInt32 binding,
UInt32 descriptorSize,
UInt32 descriptors,
bool unbounded) override;
Creates a static sampler for the descriptor bound to binding.
[[dllexport]] virtual DirectX12DescriptorLayout makeDescriptor(
UInt32 binding,
FilterMode magFilter,
FilterMode minFilter,
BorderMode borderU,
BorderMode borderV,
BorderMode borderW,
MipMapMode mipMapMode,
Float mipMapBias,
Float minLod,
Float maxLod,
Float anisotropy) override;
Return Value¶
- The descriptor layout instance.
- The descriptor layout instance for the static sampler.
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. |
| magFilter | The magnifying filter operation. |
| minFilter | The minifying filter operation. |
| borderU | The border address mode into U direction. |
| borderV | The border address mode into V direction. |
| borderW | The border address mode into W direction. |
| mipMapMode | The mip map filter operation. |
| mipMapBias | The mip map bias. |
| minLod | The closest mip map distance level. |
| maxLod | The furthest mip map distance level. |
| anisotropy | The maximum anisotropy. |