Class ShaderProgram


  • public class ShaderProgram
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TAG  
    • Constructor Summary

      Constructors 
      Constructor Description
      ShaderProgram​(java.lang.String vertexShader, java.lang.String fragmentShader)  
    • Field Detail

      • TAG

        public static final java.lang.String TAG
    • Constructor Detail

      • ShaderProgram

        public ShaderProgram​(java.lang.String vertexShader,
                             java.lang.String fragmentShader)
    • Method Detail

      • getShaderHandle

        public int getShaderHandle()
      • release

        public void release()
      • getAttribute

        public int getAttribute​(java.lang.String name)
      • getUniform

        public int getUniform​(java.lang.String name)