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` | `name()`
    `JCGLProgramShaderUsableType` | `program()`
    `int` | `size()`
    `JCGLType` | `type()`

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

      `glName`

- - ### Method Detail

    - #### name

          String name()

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

    - #### program

          JCGLProgramShaderUsableType program()

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

    - #### type

          JCGLType type()

      Returns:
        The OpenGL type of the uniform.

    - #### size

          int size()

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

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