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;
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;
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;
Return Value¶
- The value of the fence, inserted after the command buffers.
- The value of the fence, inserted after the command buffer.
Parameters¶
| Name | Description |
|---|---|
| commandBuffers | The command buffers to submit to the command queue. |
| commandBuffer | The command buffer to submit to the command queue. |
See Also¶
waitFor