Skip to content

Instantly share code, notes, and snippets.

Created Mar 4, 2021
What would you like to do?
GLES30.glUniform1i(uTextureHandle, 0) // 0 as far as it's slot number 0
GLES30.glActiveTexture(GLES30.GL_TEXTURE0) // same texture slot which we've used on initialization
GLES30.glBindTexture(GLES30.GL_TEXTURE_2D, uTextureId)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment