MCPcopy Create free account
hub / github.com/android/ndk-samples / Bind

Method Bind

endless-tunnel/app/src/main/cpp/texture.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void Texture::Bind(int unit) {
39 glActiveTexture(unit);
40 glBindTexture(GL_TEXTURE_2D, mTextureH);
41}
42
43void Texture::Unbind() { glBindTexture(GL_TEXTURE_2D, 0); }

Callers 1

SetTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected