Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ ActiveUnit
Function
ActiveUnit
engine/PoseidonGL33/GL33BindCache.cpp:36–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
void ActiveUnit(int unit)
37
{
38
if (unit == g_activeUnit)
39
return;
40
glActiveTexture(GL_TEXTURE0 + unit);
41
g_activeUnit = unit;
42
}
43
44
void Tex2D(int unit, unsigned int tex)
45
{
Callers
10
AUTO_STATIC_ARRAY
Function · 0.85
InitFromRGBA
Method · 0.85
UpdateRGBA
Method · 0.85
Tex2D
Function · 0.85
RenderCascadeArray
Function · 0.85
UploadToGPU
Method · 0.85
EmitDraw
Method · 0.85
SetMultiTexturing
Method · 0.85
InitGL
Method · 0.85
UpdateShadowMapLitState
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected