Skip to content

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

Returns the descriptor handle for an image at the specified index.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] D3D12_CPU_DESCRIPTOR_HANDLE descriptorHandle(UInt32 imageIndex) const;

Exceptions

NameThrown on
ArgumentOutOfRangeExceptionThrown, if the provided image index does not address an image within the frame buffer.

Return Value

The descriptor handle for the image.

Parameters

NameDescription
imageIndexThe index of the image for which the descriptor handle should be returned.