Search Results for

    Show / Hide Table of Contents

    Class ShaderStateDescription

    Shader state description.

    Inheritance
    object
    ShaderStateDescription
    ComputeShaderStateDescription
    GraphicsShaderStateDescription
    RaytracingShaderStateDescription
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public abstract class ShaderStateDescription

    Fields

    bufferParametersBinding

    Uniform parameter bindings. Used in WebGL1 and OpenGL ES 2.0.

    Declaration
    public Dictionary<string, BufferParameterBinding> bufferParametersBinding
    Field Value
    Type Description
    Dictionary<string, BufferParameterBinding>

    constantBuffersBindings

    ConstantBuffer bindings. Used in OpenGL 4.1 or later and OpenGL ES 3.0 or later.

    Declaration
    public List<(string name, uint slot)> constantBuffersBindings
    Field Value
    Type Description
    List<(string name, uint slot)>

    texturesBindings

    Texture bindings. Used in OpenGL 4.1 or earlier and OpenGLES 3.0 or earlier.

    Declaration
    public List<(string name, uint slot)> texturesBindings
    Field Value
    Type Description
    List<(string name, uint slot)>

    Methods

    Equals(ShaderStateDescription)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ShaderStateDescription other)
    Parameters
    Type Name Description
    ShaderStateDescription other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    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

    true if the specified object is equal to this instance; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    Operators

    operator ==(ShaderStateDescription, ShaderStateDescription)

    Implements the operator ==.

    Declaration
    public static bool operator ==(ShaderStateDescription value1, ShaderStateDescription value2)
    Parameters
    Type Name Description
    ShaderStateDescription value1

    The first value.

    ShaderStateDescription value2

    The second value.

    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 first value.

    ShaderStateDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operation.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX