예제 #1
0
 /**
  * Calls {@link #release(GL2ES2, boolean, boolean, boolean) release(gl, false, false, false)}
  *
  * @see #glReleaseAllVertexAttributes
  * @see #glReleaseAllUniforms
  * @see #release(GL2ES2, boolean, boolean, boolean)
  */
 public synchronized void releaseAllData(GL2ES2 gl) {
   release(gl, false, false, false);
 }
예제 #2
0
 /**
  * Calls {@link #release(GL2ES2, boolean, boolean, boolean) release(gl, true, true, true)}
  *
  * @see #glReleaseAllVertexAttributes
  * @see #glReleaseAllUniforms
  * @see #release(GL2ES2, boolean, boolean, boolean)
  */
 public synchronized void destroy(GL2ES2 gl) {
   release(gl, true, true, true);
   attachedObjectsByString.clear();
 }