Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
void Texture::Bind(int unit) {
39
glActiveTexture(unit);
40
glBindTexture(GL_TEXTURE_2D, mTextureH);
41
}
42
43
void Texture::Unbind() { glBindTexture(GL_TEXTURE_2D, 0); }
Callers
1
SetTexture
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected