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 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

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

    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    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 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.

    Extension Methods

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