LiteFX::Rendering::Backends::DirectX12FrameBuffer::descriptorHandle¶
Returns the descriptor handle for an image with the specified name.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] D3D12_CPU_DESCRIPTOR_HANDLE descriptorHandle(StringView imageName) const;
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if the provided image name does refer to an image within the frame buffer. |
Return Value¶
The descriptor handle for the image.
Parameters¶
| Name | Description |
|---|---|
| imageName | The name of the image for which the descriptor handle should be returned. |