Interface IShaderProgram

All Superinterfaces:
IAsset, IDisposable

public interface IShaderProgram extends IDisposable, IAsset
  • Field Details

  • Method Details

    • setDefaultValues

      void setDefaultValues(int width, int height)
    • updateProjection

      void updateProjection(int width, int height)
    • bindFragmentDataLocation

      void bindFragmentDataLocation(String name, int location)
    • link

      void link()
    • bind

      void bind()
    • getAttributeLocation

      int getAttributeLocation(String name)
    • getUniformLocation

      int getUniformLocation(String name)
    • pointVertexAttribute

      void pointVertexAttribute(String name, int size)
    • setUniform

      void setUniform(String name, org.joml.Matrix4f matrix)
    • setUniform

      void setUniform(String name, int value)
    • setUniform

      void setUniform(String name, float f)
    • setUniform

      void setUniform(String name, float x, float y)
    • setUniform

      void setUniform(String name, float x, float y, float z)
    • unbind

      void unbind()
    • getId

      int getId()
    • setVertexProcessing

      void setVertexProcessing(int componentsPerVertex, VertexProcessor processor)
    • getComponentsPerVertex

      int getComponentsPerVertex()
    • getProcessor

      VertexProcessor getProcessor()
    • draw

      void draw(int amount)