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¶
| Name | Description |
|---|---|
| subresource | The sub-resource ID. |
| plane | The plane index of the sub-resource. |
| layer | The array layer of the sub-resource. |
| level | The mip-map level of the sub-resource. |
See Also¶
subresourceId