Search Results for

    Show / Hide Table of Contents

    Class WGPUCommandQueue

    This class represent a queue where commandbuffers waits to be executing by the GPU.

    Inheritance
    object
    CommandQueue
    WGPUCommandQueue
    Inherited Members
    CommandQueue.CommandBufferArraySize
    Namespace: Evergine.WebGPU
    Assembly: Evergine.WebGPU.dll
    Syntax
    public class WGPUCommandQueue : CommandQueue

    Constructors

    WGPUCommandQueue(WGPUGraphicsContext, CommandQueueType)

    Initializes a new instance of the WGPUCommandQueue class.

    Declaration
    public WGPUCommandQueue(WGPUGraphicsContext context, CommandQueueType queueType)
    Parameters
    Type Name Description
    WGPUGraphicsContext context

    The graphics context instance.

    CommandQueueType queueType

    The commandqueue 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
    CommandQueue.Name

    Methods

    CommandBuffer()

    Gets the next CommandBuffer().

    Declaration
    public override CommandBuffer CommandBuffer()
    Returns
    Type Description
    CommandBuffer

    A CommandBuffer.

    Overrides
    CommandQueue.CommandBuffer()

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public override void Dispose()
    Overrides
    CommandQueue.Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Submit()

    Submits a list of CommandBuffer() to be executed by the GPU.

    Declaration
    public override void Submit()
    Overrides
    CommandQueue.Submit()

    WaitIdle()

    Wait for all command buffers to be executed.

    Declaration
    public override void WaitIdle()
    Overrides
    CommandQueue.WaitIdle()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX