Skip to content

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.

Synopses

Declared in <litefx/rendering_api.hpp>

Validates if the resource can be bound to a descriptor of type. This method is expected to throw, if validation fails.

[[dllimport, dllexport]] virtual void validateBinding(DescriptorType type) const override;

» more...

Validates if the resource can be bound to a descriptor of type. This method is expected to throw, if validation fails.

[[dllimport, dllexport]] void validateBinding(
    DescriptorType type,
    UInt32 firstLevel,
    UInt32 levels,
    UInt32 firstLayer,
    UInt32 layers) const;

» more...

Parameters

NameDescription
typeThe type of the descriptor to validate against.
firstLevelThe first mip map level to bind.
levelsThe number of mip map levels to bind.
firstLayerThe first layer to bind.
layersThe number of layers to bind.