Search Results for

    Show / Hide Table of Contents

    Class WGPUComputePipelineState

    This class represents a native pipelineState on Metal.

    Inheritance
    object
    PipelineState
    ComputePipelineState
    WGPUComputePipelineState
    Inherited Members
    ComputePipelineState.Description
    Namespace: Evergine.WebGPU
    Assembly: Evergine.WebGPU.dll
    Syntax
    public class WGPUComputePipelineState : ComputePipelineState

    Constructors

    WGPUComputePipelineState(WGPUGraphicsContext, ref ComputePipelineDescription)

    Initializes a new instance of the WGPUComputePipelineState class.

    Declaration
    public WGPUComputePipelineState(WGPUGraphicsContext context, ref ComputePipelineDescription description)
    Parameters
    Type Name Description
    WGPUGraphicsContext context

    The graphics context.

    ComputePipelineDescription description

    The compute 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. Can be used in graphics debugging tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    ComputePipelineState.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