Search Results for

    Show / Hide Table of Contents

    Class WGPUGraphicsPipelineState

    This class represents a native pipelineState on WebGPU.

    Inheritance
    object
    PipelineState
    GraphicsPipelineState
    WGPUGraphicsPipelineState
    Inherited Members
    GraphicsPipelineState.Description
    GraphicsPipelineState.InvalidatedViewport
    Namespace: Evergine.WebGPU
    Assembly: Evergine.WebGPU.dll
    Syntax
    public class WGPUGraphicsPipelineState : GraphicsPipelineState

    Constructors

    WGPUGraphicsPipelineState(WGPUGraphicsContext, ref GraphicsPipelineDescription)

    Initializes a new instance of the WGPUGraphicsPipelineState class.

    Declaration
    public WGPUGraphicsPipelineState(WGPUGraphicsContext context, ref GraphicsPipelineDescription description)
    Parameters
    Type Name Description
    WGPUGraphicsContext context

    The graphics context.

    GraphicsPipelineDescription description

    The graphics pipeline state description.

    Properties

    IsPipelineStateInitialized

    Gets a value indicating whether the pipelineState is initialized.

    Declaration
    public bool IsPipelineStateInitialized { get; }
    Property Value
    Type Description
    bool

    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
    GraphicsPipelineState.Name

    Methods

    Apply(WGPUCommandBuffer)

    Apply only changes compare with the previous pipelineState.

    Declaration
    public void Apply(WGPUCommandBuffer commandBuffer)
    Parameters
    Type Name Description
    WGPUCommandBuffer commandBuffer

    The commandBuffer where apply this pipeline.

    Dispose()

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

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

    Extension Methods

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