Package com.badlogic.gdx.graphics

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


    if (Gdx.graphics.isGL20Available()) {
      if (blendingDisabled) {
        Gdx.gl20.glDisable(GL20.GL_BLEND);
      } else {
        GL20 gl20 = Gdx.gl20;
        gl20.glEnable(GL20.GL_BLEND);
        gl20.glBlendFunc(blendSrcFunc, blendDstFunc);
      }

      if (customShader != null)
        mesh.render(customShader, GL10.GL_TRIANGLES, 0, spritesInBatch * 6);
 
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.