Skip to content

LiteFX::Rendering::ICommandBuffer::track

Sets up tracking for a sampler state, 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<ISampler const> sampler) const = 0;

Exceptions

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

Parameters

NameDescription
samplerThe sampler to track.

See Also

track(SharedPtr≤const IBuffer≥)