Class OGLProgram.Attribute

java.lang.Object
com.blackrook.gloop.opengl.gl2.OGLProgram.Attribute
Enclosing class:
OGLProgram

public static class OGLProgram.Attribute extends Object
Attribute for a shader.
Author:
Matthew Tropiano
  • Method Details

    • getIndex

      public int getIndex()
      Returns:
      the attribute index.
    • getName

      public String getName()
      Returns:
      the attribute name.
    • getSize

      public int getSize()
      Returns:
      the size of the attribute.
    • getType

      public int getType()
      Returns:
      the GL type id.
    • getTypeName

      public String getTypeName()
      Returns:
      the type name.
    • toString

      public String toString()
      Overrides:
      toString in class Object