LiteFX::Rendering::ICommandBuffer::track¶
track overloads
Synopses¶
Declared in <litefx/rendering_api.hpp>
Sets up tracking for a buffer, so that it will not be destroyed until the command buffer has been executed.
[[dllimport, dllexport]] virtual void track(SharedPtr<IBuffer const> buffer) const = 0;
Sets up tracking for an image, so that it will not be destroyed until the command buffer has been executed.
[[dllimport, dllexport]] virtual void track(SharedPtr<IImage const> image) const = 0;
Sets up tracking for a sampler state, so that it will not be destroyed until the command buffer has been executed.
[[dllimport, dllexport]] virtual void track(SharedPtr<ISampler const> sampler) const = 0;
Sets up tracking for a descriptor set, so that bindings aren't released until the command buffer has been executed.
[[dllimport, dllexport]] virtual void track(UniquePtr<IDescriptorSet const>&& descriptorSet) const = 0;
Exceptions¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, if the command buffer is not currently recording. |
Parameters¶
| Name | Description |
|---|---|
| buffer | The buffer to track. |
| image | The image to track. |
| sampler | The sampler to track. |
| descriptorSet | The descriptor set to track. |
See Also¶
track(SharedPtr≤const IImage≥)
track(SharedPtr≤const ISampler≥)
track(SharedPtr≤const IBuffer≥)