com.io7m.jcanephora.core

## Interface JCGLProgramUniformType

- All Superinterfaces:
    JCGLNamedType
  All Known Implementing Classes:
    FakeProgramUniform

      public interface JCGLProgramUniformType
      extends JCGLNamedType

  The type of uniforms in compiled programs.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `JCGLProgramShaderUsableType` | `getProgram()`
    `int` | `getSize()`
    `JCGLType` | `getType()`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLNamedType

      `getGLName`

- - ### Method Detail

    - #### getName

          String getName()

      Returns:
        The name of the uniform. This is the name of the uniform as declared in the respective shading program.

    - #### getProgram

          JCGLProgramShaderUsableType getProgram()

      Returns:
        A reference to the program that owns the uniform.

    - #### getType

          JCGLType getType()

      Returns:
        The OpenGL type of the uniform.

    - #### getSize

          int getSize()

      Returns:
        The size of the uniform (the number of elements of the array, if the uniform is of an array type)

Copyright © 2016 <code@io7m.com> http://io7m.com