Class GLSamplerState
This struct represent all parameters supported in OpenGL for BlendState.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLSamplerState : SamplerState, ILoadable, IDisposable, IDependencyObject
  Constructors
GLSamplerState(GraphicsContext, ref SamplerStateDescription)
Initializes a new instance of the GLSamplerState class.
Declaration
public GLSamplerState(GraphicsContext context, ref SamplerStateDescription description)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsContext | context | The graphics context. GraphicsContext.  | 
      
| SamplerStateDescription | description | The sampler state description. SamplerStateDescription.  | 
      
Fields
StateCache
Current SamplerStateDescriptionGL applicated.
Declaration
public Dictionary<int, GLSamplerStateDescription> StateCache
  Field Value
| Type | Description | 
|---|---|
| Dictionary<int, GLSamplerStateDescription> | 
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
NativePointer
Gets the native pointer.
Declaration
public override IntPtr NativePointer { get; }
  Property Value
| Type | Description | 
|---|---|
| IntPtr | 
Overrides
Methods
Apply(GLTexture)
Apply all BlendState values.
Declaration
public void Apply(GLTexture texture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GLTexture | texture | The texture where we want to apply an specific sampler state.  | 
      
Dispose()
Dispose this instance.
Declaration
public override void Dispose()