Package icyllis.arc3d.opengl
Class GLUniformDataManager
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.UniformDataManager
icyllis.arc3d.opengl.GLUniformDataManager
- All Implemented Interfaces:
RefCounted
Uploads a UBO for a Uniform Interface Block with std140 layout.
-
Field Summary
Fields inherited from class icyllis.arc3d.engine.UniformDataManager
mUniformData, mUniforms, mUniformsDirty, mUniformSize -
Method Summary
Modifier and TypeMethodDescriptionbooleanbindAndUploadUniforms(GLDevice device, GLCommandBuffer commandBuffer) protected voidOverride this method to invoke de-allocation of the underlying resource.voidsetProjection(int u, int width, int height, boolean flipY) Set the orthographic projection vector.Methods inherited from class icyllis.arc3d.engine.UniformDataManager
getBufferPtrAndMarkDirty, set1f, set1fv, set1fv, set1i, set1iv, set1iv, set2f, set2fv, set2fv, set2i, set2iv, set2iv, set3f, set3fv, set3fv, set3i, set3iv, set3iv, set4f, set4fv, set4fv, set4i, set4iv, set4iv, setMatrix2fv, setMatrix2fv, setMatrix3f, setMatrix3f, setMatrix3fv, setMatrix3fv, setMatrix4f, setMatrix4fv, setMatrix4fv
-
Method Details
-
deallocate
protected void deallocate()Description copied from class:RefCntOverride this method to invoke de-allocation of the underlying resource.- Overrides:
deallocatein classUniformDataManager
-
setProjection
public void setProjection(int u, int width, int height, boolean flipY) Set the orthographic projection vector. -
bindAndUploadUniforms
-