Skip to content

LiteFX::Rendering::Backends::DirectX12FrameBuffer::descriptorHandle

Returns the descriptor handle for an image mapped to the specified render target.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] D3D12_CPU_DESCRIPTOR_HANDLE descriptorHandle(RenderTarget const& renderTarget) const;

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if the provided render target is not mapped to an image within the frame buffer.

Return Value

The descriptor handle for the image.

Parameters

NameDescription
renderTargetThe render target for which to return the image descriptor handle.