Class GLCommandQueue
CPU implementation of a CommandQueue for OpenGL.
Implements
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLCommandQueue : CommandQueue, IDisposable
Constructors
GLCommandQueue(GLGraphicsContext)
Initializes a new instance of the GLCommandQueue class.
Declaration
public GLCommandQueue(GLGraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
GLGraphicsContext | graphicsContext | Graphics Context. |
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()