Class WGPUComputePipelineState
This class represents a native pipelineState on Metal.
Inherited Members
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
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()