Class CommandQueue
A pool of CommandBuffer().
Inheritance
CommandQueue
Implements
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public abstract class CommandQueue : IDisposable
Fields
CommandBufferArraySize
The command buffer array size.
Declaration
public const int CommandBufferArraySize = 64
Field Value
Type | Description |
---|---|
int |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public abstract string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CommandBuffer()
Gets the next CommandBuffer().
Declaration
public abstract CommandBuffer CommandBuffer()
Returns
Type | Description |
---|---|
CommandBuffer | The CommandBuffer. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public abstract void Dispose()
Submit()
Submits a CommandBuffer list to be executed by the GPU.
Declaration
public abstract void Submit()
WaitIdle()
Wait for all command buffers are executed.
Declaration
public abstract void WaitIdle()