Class MTLComputePipelineState
This class represents a native pipelineState on Metal.
Implements
Inherited Members
Namespace: Evergine.Metal
Assembly: Evergine.Metal.dll
Syntax
public class MTLComputePipelineState : ComputePipelineState, IDisposable
  Constructors
MTLComputePipelineState(MTLGraphicsContext, ref ComputePipelineDescription)
Initializes a new instance of the MTLComputePipelineState class.
Declaration
public MTLComputePipelineState(MTLGraphicsContext context, ref ComputePipelineDescription description)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MTLGraphicsContext | context | The graphics context.  | 
      
| ComputePipelineDescription | description | The graphics pipeline state description.  | 
      
Fields
ThreadsPerThreadgroup
The threadgroup dimensions.
Declaration
public MTLSize ThreadsPerThreadgroup
  Field Value
| Type | Description | 
|---|---|
| MTLSize | 
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
Apply(MTLCommandBuffer)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(MTLCommandBuffer commandBuffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MTLCommandBuffer | commandBuffer | The commandBuffer where apply this pipeline.  | 
      
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()