VisioForge (c) 2025

Search Results for

    Class GLShader

    Class GLShader.

    Inheritance
    object
    GLShader
    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 GLShader

    Constructors

    GLShader()

    Initializes a new instance of the GLShader class.

    Declaration
    public GLShader()

    GLShader(string, string)

    Initializes a new instance of the GLShader class.

    Declaration
    public GLShader(string vertexShader, string fragmentShader)
    Parameters
    Type Name Description
    string vertexShader

    The vertex shader.

    string fragmentShader

    The fragment shader.

    Properties

    FragmentShader

    Gets or sets the fragment shader.

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

    The fragment shader.

    VertexShader

    Gets or sets the vertex shader.

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

    The vertex shader.