Searched defs:glHandle (Results 1 - 2 of 2) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
H A DGLTexture.java33 protected int glHandle; field in class:GLTexture
53 public GLTexture (int glTarget, int glHandle) { argument
55 this.glHandle = glHandle;
66 Gdx.gl.glBindTexture(glTarget, glHandle);
73 Gdx.gl.glBindTexture(glTarget, glHandle);
98 return glHandle;
167 /** Destroys the OpenGL Texture as specified by the glHandle. */
169 if (glHandle != 0) {
170 Gdx.gl.glDeleteTexture (glHandle);
[all...]
H A DTexture.java123 protected Texture (int glTarget, int glHandle, TextureData data) { argument
124 super(glTarget, glHandle);
149 glHandle = Gdx.gl.glGenTexture();
193 // this is a hack. reason: we have to set the glHandle to 0 for textures that are
195 // and then reload it. the glHandle is set to 0 in invalidateAllTextures prior to
197 if (glHandle == 0) return;
244 texture.glHandle = 0;
265 texture.glHandle = Gdx.gl.glGenTexture();

Completed in 80 milliseconds