Skip to content

LiteFX::Rendering::IImage::subresourceId

Returns the sub-resource ID for a combination of mip-map level, array layer and plane.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual UInt32 subresourceId(
    UInt32 level,
    UInt32 layer,
    UInt32 plane) const noexcept;

Return Value

The sub-resource ID for the sub-resource.

Parameters

NameDescription
levelThe mip map level of the sub-resource.
layerThe array layer of the sub-resource.
planeThe plane of the sub-resource.

See Also

resolveSubresource