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¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, if the command buffer is not currently recording. |
Parameters¶
| Name | Description |
|---|---|
| image | The image to track. |
See Also¶
track(SharedPtr≤const IBuffer≥)