Package com.badlogic.gdx.graphics

Examples of com.badlogic.gdx.graphics.GL20.glBufferSubData()


    }

    if (isBound) {
      if (Gdx.gl20 != null) {
        GL20 gl = Gdx.gl20;
        gl.glBufferSubData(GL20.GL_ARRAY_BUFFER, 0, byteBuffer.limit(), byteBuffer);
      } else {
        GL11 gl = Gdx.gl11;
        gl.glBufferSubData(GL11.GL_ARRAY_BUFFER, 0, byteBuffer.limit(), byteBuffer);
      }
      isDirty = false;
View Full Code Here


      if (Gdx.gl20 != null) {
        GL20 gl = Gdx.gl20;
        gl.glBufferSubData(GL20.GL_ARRAY_BUFFER, 0, byteBuffer.limit(), byteBuffer);
      } else {
        GL11 gl = Gdx.gl11;
        gl.glBufferSubData(GL11.GL_ARRAY_BUFFER, 0, byteBuffer.limit(), byteBuffer);
      }
      isDirty = false;
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.