Available Methods
- glBindTexture ( )
- glGetUniformLocation ( )
- glEnableVertexAttribArray ( )
- glUniformMatrix4fv ( )
- glActiveTexture ( )
- glVertexAttribPointer ( )
- glUseProgram ( )
- glGetAttribLocation ( )
- glGenTextures ( )
- glUniform1i ( )
- glTexParameteri ( )
- glClear ( )
- glDrawArrays ( )
- glUniform1f ( )
- glViewport ( )
- glDeleteProgram ( )
- glCompileShader ( )
- glBindFramebuffer ( )
- glCreateProgram ( )
- glClearColor ( )
- glCreateShader ( )
- glLinkProgram ( )
- glAttachShader ( )
- glShaderSource ( )
- glDeleteTextures ( )
- glDisableVertexAttribArray ( )
- glGetShaderiv ( )
- glGetError ( )
- glGetProgramiv ( )
- glDeleteShader ( )
- glTexParameterf ( )
- glTexImage2D ( )
- glEnable ( )
- GL_NO_ERROR
- glBlendFunc ( )
- glDeleteFramebuffers ( )
- glFramebufferTexture2D ( )
- glBindBuffer ( )
- glDisable ( )
- glGenFramebuffers ( )
- glCheckFramebufferStatus ( )
- GL_TRUE
- glUniform2f ( )
- glUniform4fv ( )
- glDrawElements ( )
- GL_FRAMEBUFFER_COMPLETE
- glReadPixels ( )
- glGetIntegerv ( )
- glBufferData ( )
- glValidateProgram ( )
- GL_TEXTURE_2D ( )
- GL_FALSE
- glUniform2fv ( )
- glFinish ( )
- glGenBuffers ( )
- glFlush ( )
- glGetShaderInfoLog ( )
- glDeleteRenderbuffers ( )
- glDeleteBuffers ( )
- glGetString ( )
- glUniform3f ( )
- glRenderbufferStorage ( )
- glFramebufferRenderbuffer ( )
- glScissor ( )
- glBindAttribLocation ( )
- glGenRenderbuffers ( )
- glPixelStorei ( )
- glUniform4f ( )
- glUniform1fv ( )
- glUniformMatrix3fv ( )
- glGetProgramInfoLog ( )
- glBindRenderbuffer ( )
- GL_UNSIGNED_BYTE
- glUniform3fv ( )
- glTexSubImage2D ( )
- glCullFace ( )
- glDepthMask ( )
- GL_NEAREST
- glLineWidth ( )
- glGenerateMipmap ( )
- GL_TEXTURE0 ( )
- GL_RGBA
- glBlendColor ( )
- glDepthFunc ( )
- GL_RGB
- glBufferSubData ( )
- GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
- GL_LINES
- glFrontFace ( )
- glIsProgram ( )
- GL_TEXTURE5 ( )
- GL_LINEAR_MIPMAP_NEAREST
- GL_FRAGMENT_SHADER
- GL_FRAMEBUFFER_UNSUPPORTED
- glUniform1iv ( )
- GL_UNSIGNED_SHORT_4_4_4_4 ( )
- GL_LINEAR
- GL_NEAREST_MIPMAP_NEAREST
- GL_FLOAT
- glIsTexture ( )
- GL_LUMINANCE
- GL_DEPTH_BUFFER_BIT
- GL_TEXTURE1 ( )
- GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
- glDetachShader ( )
- glHint ( )
- GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
- GL_TEXTURE8 ( )
- GL_LINE_LOOP
- GL_VERTEX_SHADER
- GL_TEXTURE3 ( )
- GL_TEXTURE6 ( )
- glUniform4iv ( )
- GL_DEPTH_COMPONENT16 ( )
Related Classes
- java.io.File
- java.io.InputStream
- android.content.Context
- android.util.Log
- java.io.FileOutputStream
- android.os.Build
- android.graphics.Color
- android.graphics.Canvas
- android.graphics.Bitmap
- java.nio.ByteBuffer
- android.annotation.TargetApi
- android.annotation.SuppressLint
- android.graphics.BitmapFactory
- android.os.Environment
- android.os.Looper
- java.util.logging.Level
- java.io.BufferedOutputStream
- android.graphics.RectF
- android.graphics.Matrix
- java.nio.ByteOrder
- androidx.annotation.NonNull
- android.view.Surface
- android.hardware.Camera
- java.nio.FloatBuffer
- android.graphics.SurfaceTexture
Java Code Examples for android.opengl.GLES20#glIsTexture()
The following examples show how to use
android.opengl.GLES20#glIsTexture() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BitmapTexture.java From PhotoMovie with Apache License 2.0 | 5 votes |
@Override public void recycle() { mIsRecycled = true; if(mRecycleDirectly) { if (mId != NO_TEXTURE && GLES20.glIsTexture(mId)) { GLES20.glDeleteTextures(1, new int[]{mId}, 0); mId = NO_TEXTURE; } } super.recycle(); }
Example 2
Source File: FboTexture.java From PhotoMovie with Apache License 2.0 | 5 votes |
public void release() { if (mId != 0 && GLES20.glIsTexture(mId)) { GLES20.glDeleteTextures(1, new int[]{mId}, 0); } if (mRenderBuffer != 0 && GLES20.glIsRenderbuffer(mRenderBuffer)) { GLES20.glDeleteRenderbuffers(1, new int[]{mRenderBuffer}, 0); } if (mFrameBuffer != 0 && GLES20.glIsFramebuffer(mFrameBuffer)) { GLES20.glDeleteFramebuffers(1, new int[]{mFrameBuffer}, 0); mFrameBuffer = 0; } }
Example 3
Source File: FileTextureSource.java From Tanks with MIT License | 5 votes |
@Override public void release(Texture texture) { int handle = texture.getHandle(); if (GLES20.glIsTexture(handle)) GLES20.glDeleteTextures(1, new int[] { handle }, 0); }
Example 4
Source File: Texture.java From Tanks with MIT License | 5 votes |
public void validate() { if (!GameContext.debuggable) return; if (!GLES20.glIsTexture(handle)) throw new IllegalStateException("Texture handle deprecated"); }
Example 5
Source File: BasicTexture.java From PhotoMovie with Apache License 2.0 | 4 votes |
public boolean isLoaded() { //调用GLSurfaceView的onPause()会导致textureId失效,所以要加一个检查 return mState == STATE_LOADED && GLES20.glIsTexture(mId); }
Example 6
Source File: AndroidGL.java From trekarta with GNU General Public License v3.0 | 4 votes |
@Override public boolean isTexture(int texture) { return GLES20.glIsTexture(texture); }
Example 7
Source File: GLState.java From tilt-game-android with MIT License | 4 votes |
public boolean isTexture(final int pHardwareTextureID) { return GLES20.glIsTexture(pHardwareTextureID); }
Example 8
Source File: GLState.java From 30-android-libraries-in-30-days with Apache License 2.0 | 4 votes |
public boolean isTexture(final int pHardwareTextureID) { return GLES20.glIsTexture(pHardwareTextureID); }