Class GLComputePipelineStateCache
OpenGL cache implementation for ComputePipeline.
Implements
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLComputePipelineStateCache : IDisposable
  Constructors
GLComputePipelineStateCache(GLGraphicsContext)
Initializes a new instance of the GLComputePipelineStateCache class.
Declaration
public GLComputePipelineStateCache(GLGraphicsContext graphicsContext)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GLGraphicsContext | graphicsContext | Graphics Context.  | 
      
Fields
glGraphicsContext
OpenGL Graphics Context.
Declaration
protected GLGraphicsContext glGraphicsContext
  Field Value
| Type | Description | 
|---|---|
| GLGraphicsContext | 
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
  Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | disposing | 
  | 
      
GetNativeProgram(ComputeShaderStateDescription)
Gets a native GLProgram from cache.
Declaration
public GLProgram GetNativeProgram(ComputeShaderStateDescription computeShaderStateDescription)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ComputeShaderStateDescription | computeShaderStateDescription | The shader description.  | 
      
Returns
| Type | Description | 
|---|---|
| GLProgram | Return OpenGL program.  |