Class VKCommandQueue
This class represents a queue where command buffers wait to be executed by the GPU.
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKCommandQueue : CommandQueue
Constructors
VKCommandQueue(VKGraphicsContext, CommandQueueType)
Initializes a new instance of the VKCommandQueue class.
Declaration
public VKCommandQueue(VKGraphicsContext context, CommandQueueType queueType)
Parameters
Type | Name | Description |
---|---|---|
VKGraphicsContext | context | The graphics context instance. |
CommandQueueType | queueType | The command queue elements' type. |
Properties
Name
Gets or sets a string identifying this instance. It can be used in graphics debugger 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 | A 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 list of CommandBuffer() to be executed by the GPU.
Declaration
public override void Submit()
Overrides
WaitIdle()
Wait for all command buffers to be executed.
Declaration
public override void WaitIdle()