wtc-gl
    Preparing search index...

    Class Uniform

    A uniform is just a basic container for simple uniform information.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    kind: Kind

    The uniform kind. Currently unused but useful in future for testing against supplied bind type.

    name: string

    The uniform name. Currently unused, but for future use in auto-parsing name

    The uniform value.

    Methods

    • Binds the uniform to the program.

      Parameters

      • program: Program

        The program to which to bind the uniform.

      • location: WebGLUniformLocation

        A flag representing the uniform's location in memory.

      • activeUniform: WTCGLActiveInfo

        Representes an extention of the standard Web GL active info for uniform.

      Returns void