Skip to content

Instantly share code, notes, and snippets.

@appspell
Created March 4, 2021 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appspell/5198346f5d28aad570c498e6c9a389e6 to your computer and use it in GitHub Desktop.
Save appspell/5198346f5d28aad570c498e6c9a389e6 to your computer and use it in GitHub Desktop.
uTextureHandle = GLES30.glGetUniformLocation(program, FRAGMENT_SHADER_UNIFORM_TEXTURE)
uTextureId = textureBitmap.toGlTexture(needToRecycle = true, GLES30.GL_TEXTURE0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment