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