Skip to content

LiteFX::Rendering::ICommandQueue::submit

submit overloads

Synopses

Declared in <litefx/rendering_api.hpp>

Submits a set of command buffers with shared ownership and inserts a fence to wait for them.

[[dllimport, dllexport]] UInt64 submit(Enumerable<SharedPtr<ICommandBuffer const>> commandBuffers) const;

» more...

Submits a single command buffer with shared ownership and inserts a fence to wait for it.

[[dllimport, dllexport]] UInt64 submit(SharedPtr<ICommandBuffer> const& commandBuffer) const;

» more...

Submits a single command buffer with shared ownership and inserts a fence to wait for it.

[[dllimport, dllexport]] UInt64 submit(SharedPtr<ICommandBuffer const> const& commandBuffer) const;

» more...

Return Value

  • The value of the fence, inserted after the command buffers.
  • The value of the fence, inserted after the command buffer.

Parameters

NameDescription
commandBuffersThe command buffers to submit to the command queue.
commandBufferThe command buffer to submit to the command queue.