Class ShaderStateDescription
Shader State Description.
Inheritance
ShaderStateDescription
      
      
      
  Implements
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public abstract class ShaderStateDescription : IEquatable<ShaderStateDescription>
  Fields
bufferParametersBinding
Uniform parameters bindings. Used in WebGL1 and OpenGL ES 2.0.
Declaration
public Dictionary<string, BufferParameterBinding> bufferParametersBinding
  Field Value
| Type | Description | 
|---|---|
| Dictionary<string, BufferParameterBinding> | 
constantBuffersBindings
ConstantBuffers bindings. Used in OpenGL 410 or minor and OpenGLES 300 or minor.
Declaration
public List<(string name, uint slot)> constantBuffersBindings
  Field Value
| Type | Description | 
|---|---|
| List<(string name, uint slot)> | 
texturesBindings
Textures bindings. Used in OpenGL 410 or minor and OpenGLES 300 or minor.
Declaration
public List<(string name, uint slot)> texturesBindings
  Field Value
| Type | Description | 
|---|---|
| List<(string name, uint slot)> | 
Methods
Equals(ShaderStateDescription)
Declaration
public bool Equals(ShaderStateDescription other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ShaderStateDescription | other | 
Returns
| Type | Description | 
|---|---|
| bool | 
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The object to compare with this instance.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | 
Overrides
Operators
operator ==(ShaderStateDescription, ShaderStateDescription)
Implements the operator ==.
Declaration
public static bool operator ==(ShaderStateDescription value1, ShaderStateDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ShaderStateDescription | value1 | The value1.  | 
      
| ShaderStateDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  | 
      
operator !=(ShaderStateDescription, ShaderStateDescription)
Implements the operator ==.
Declaration
public static bool operator !=(ShaderStateDescription value1, ShaderStateDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ShaderStateDescription | value1 | The value1.  | 
      
| ShaderStateDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  |