VisioForge (c) 2025

Search Results for

    Class GLShaderSettings

    Class GLShaderSettings.

    Inheritance
    object
    GLShaderSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.X.OpenGL
    Assembly: VisioForge.Core.dll
    Syntax
    public class GLShaderSettings

    Constructors

    GLShaderSettings()

    Initializes a new instance of the GLShaderSettings class.

    Declaration
    public GLShaderSettings()

    GLShaderSettings(string, string)

    Initializes a new instance of the GLShaderSettings class.

    Declaration
    public GLShaderSettings(string vertex, string fragment)
    Parameters
    Type Name Description
    string vertex

    The vertex.

    string fragment

    The fragment.

    GLShaderSettings(GLShader)

    Initializes a new instance of the GLShaderSettings class.

    Declaration
    public GLShaderSettings(GLShader shader)
    Parameters
    Type Name Description
    GLShader shader

    The shader.

    Properties

    Fragment

    GLSL fragment source.

    Declaration
    public string Fragment { get; set; }
    Property Value
    Type Description
    string

    Uniforms

    Uniforms (parameters).

    Declaration
    public Dictionary<string, object> Uniforms { get; }
    Property Value
    Type Description
    Dictionary<string, object>

    Vertex

    GLSL vertex source.

    Declaration
    public string Vertex { get; set; }
    Property Value
    Type Description
    string