Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetConstantLocation
Function
GetConstantLocation
engine/render/src/render/constant.cpp:95–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
dmGraphics::HUniformLocation GetConstantLocation(HConstant constant)
96
{
97
return constant->m_Location;
98
}
99
100
void SetConstantLocation(HConstant constant, dmGraphics::HUniformLocation location)
101
{
Callers
3
TEST
Function · 0.85
ApplyMaterialConstants
Function · 0.85
ApplyComputeProgramConstants
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68