LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder::makeDescriptor¶
Creates a static sampler for the descriptor bound to binding.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
[[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 for the static sampler.
Parameters¶
| Name | Description |
|---|---|
| binding | The binding point for the descriptor. |
| 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. |