Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cginternals/globjects
/ bindActive
Method
bindActive
source/globjects/source/Texture.cpp:111–115 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
109
}
110
111
void Texture::bindActive(const GLenum texture) const
112
{
113
glActiveTexture(texture);
114
glBindTexture(m_target, id());
115
}
116
117
void Texture::bindActive(unsigned int index) const
118
{
Callers
1
draw
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected