Class DX11CommandQueue
This class represent a queue where commandbuffers waits to be executing by the GPU.
Implements
Inherited Members
Namespace: Evergine.DirectX11
Assembly: Evergine.DirectX11.dll
Syntax
public class DX11CommandQueue : CommandQueue, IDisposable
Constructors
DX11CommandQueue(DX11GraphicsContext)
Initializes a new instance of the DX11CommandQueue class.
Declaration
public DX11CommandQueue(DX11GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
DX11GraphicsContext | graphicsContext | The graphics context instance. |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
CommandBuffer()
Gets the next CommandBuffer().
Declaration
public override CommandBuffer CommandBuffer()
Returns
Type | Description |
---|---|
CommandBuffer | The CommandBuffer. |
Overrides
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()
Overrides
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
Submit()
Submits a CommandBuffer list to be executed by the GPU.
Declaration
public override void Submit()
Overrides
WaitIdle()
Wait for all command buffers are executed.
Declaration
public override void WaitIdle()