LiteFX::Rendering::IImage::validateBinding¶
Validates if the resource can be bound to a descriptor of type. This method is expected to throw, if validation fails.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] void validateBinding(
DescriptorType type,
UInt32 firstLevel,
UInt32 levels,
UInt32 firstLayer,
UInt32 layers) const;Parameters¶
| Name | Description |
|---|---|
| firstLevel | The first mip map level to bind. |
| levels | The number of mip map levels to bind. |
| firstLayer | The first layer to bind. |
| layers | The number of layers to bind. |
| type | The type of the descriptor to validate against. |