Skip to content

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;

» more...

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;

» more...

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;

» more...

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;

» more...

Exceptions

NameThrown on
RuntimeExceptionThrown, if the command buffer is not currently recording.

Parameters

NameDescription
bufferThe buffer to track.
imageThe image to track.
samplerThe sampler to track.
descriptorSetThe descriptor set to track.

See Also

track(SharedPtr≤const IImage≥)

track(SharedPtr≤const ISampler≥)

track(SharedPtr≤const IBuffer≥)