Class ShaderProgram

java.lang.Object
heronarts.glx.shader.ShaderProgram
Direct Known Subclasses:
UniformFill, VertexFill

public class ShaderProgram extends Object
  • Field Details

    • DEFAULT_BGFX_STATE

      public static final long DEFAULT_BGFX_STATE
    • bgfxState

      protected long bgfxState
  • Constructor Details

    • ShaderProgram

      public ShaderProgram(GLX glx, String vsName, String fsName)
  • Method Details

    • submit

      public void submit(View view)
    • submit

      public void submit(View view, VertexBuffer vertexBuffer)
    • submit

      public void submit(View view, long bgfxState)
    • submit

      public void submit(View view, long bgfxState, VertexBuffer... vertexBuffers)
    • setVertexBuffers

      protected void setVertexBuffers(View view)
    • setUniforms

      protected void setUniforms(View view)
    • dispose

      public void dispose()