Class GLUniformDataManager

All Implemented Interfaces:
RefCounted

public class GLUniformDataManager extends UniformDataManager
Uploads a UBO for a Uniform Interface Block with std140 layout.
  • Method Details

    • deallocate

      protected void deallocate()
      Description copied from class: RefCnt
      Override this method to invoke de-allocation of the underlying resource.
      Overrides:
      deallocate in class UniformDataManager
    • setProjection

      public void setProjection(int u, int width, int height, boolean flipY)
      Set the orthographic projection vector.
    • bindAndUploadUniforms

      public boolean bindAndUploadUniforms(GLDevice device, GLCommandBuffer commandBuffer)