Skip to content

LiteFX::Rendering::ICommandBuffer::track

Sets up tracking for an image, so that it will not be destroyed until the command buffer has been executed.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void track(SharedPtr<IImage const> image) const = 0;

Exceptions

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

Parameters

NameDescription
imageThe image to track.

See Also

track(SharedPtr≤const IBuffer≥)