LiteFX::Rendering::DescriptorBinding::resource¶
The resource to bind or std::monostate if no resource should be bound.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
resource_container resource = = {};
Description¶
Note that not providing any resource does not perform any binding, in which case a resource needs to be manually bound to the descriptor set later (IDescriptorSet::update). This is useful in situations where you frequently update the resource bound to a descriptor set or where you do no have access to the resource at the time the descriptor set is allocated.
See Also¶
IBuffer
IImage
ISampler