Examples of GLCommon


Examples of com.badlogic.gdx.graphics.GLCommon

    if (idx > 0) renderMesh();
    lastTexture = null;
    idx = 0;
    drawing = false;

    GLCommon gl = Gdx.gl;
    gl.glDepthMask(true);
    if (isBlendingEnabled()) gl.glDisable(GL10.GL_BLEND);
    gl.glDisable(GL10.GL_TEXTURE_2D);

    if (Gdx.graphics.isGL20Available()) {
      if (customShader != null)
        customShader.end();
      else
View Full Code Here

Examples of com.badlogic.gdx.graphics.GLCommon

    if (!drawing) throw new IllegalStateException("SpriteBatch.begin must be called before end.");
    if (idx > 0) flush();
    lastTexture = null;
    drawing = false;

    GLCommon gl = Gdx.gl;
    gl.glDepthMask(true);
    if (isBlendingEnabled()) gl.glDisable(GL10.GL_BLEND);

    if (Gdx.graphics.isGL20Available()) {
      if (customShader != null)
        customShader.end();
      else
        shader.end();
    } else {
      gl.glDisable(GL10.GL_TEXTURE_2D);
    }
  }
View Full Code Here

Examples of com.badlogic.gdx.graphics.GLCommon

    if (!drawing) throw new IllegalStateException("PolygonSpriteBatch.begin must be called before end.");
    if (vertexIndex > 0) flush();
    lastTexture = null;
    drawing = false;

    GLCommon gl = Gdx.gl;
    gl.glDepthMask(true);
    if (isBlendingEnabled()) gl.glDisable(GL10.GL_BLEND);

    if (Gdx.graphics.isGL20Available()) {
      if (customShader != null)
        customShader.end();
      else
        shader.end();
    } else {
      gl.glDisable(GL10.GL_TEXTURE_2D);
    }
  }
View Full Code Here

Examples of com.badlogic.gdx.graphics.GLCommon

    if (idx > 0) renderMesh();
    lastTexture = null;
    idx = 0;
    drawing = false;

    GLCommon gl = Gdx.gl;
    gl.glDepthMask(true);
    if (isBlendingEnabled()) gl.glDisable(GL10.GL_BLEND);

    if (Gdx.graphics.isGL20Available()) {
      if (customShader != null)
        customShader.end();
      else
        shader.end();
    } else {
      gl.glDisable(GL10.GL_TEXTURE_2D);
    }
  }
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.