Skip to content

LiteFX::Rendering::IImage::resolveSubresource

Returns the plane, layer and level for the provided subresource.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void resolveSubresource(
    UInt32 subresource,
    UInt32& plane,
    UInt32& layer,
    UInt32& level) const noexcept;

Parameters

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

See Also

subresourceId