Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetConstantType
Function
GetConstantType
engine/render/src/render/constant.cpp:105–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
dmRenderDDF::MaterialDesc::ConstantType GetConstantType(HConstant constant)
106
{
107
return constant->m_Type;
108
}
109
110
void SetConstantType(HConstant constant, dmRenderDDF::MaterialDesc::ConstantType type)
111
{
Callers
10
TEST
Function · 0.85
SetProgramConstantValues
Function · 0.85
ApplyMaterialConstants
Function · 0.85
ApplyComputeProgramConstants
Function · 0.85
PushRenderConstant
Function · 0.85
GetMaterialConstant
Function · 0.85
FindOrCreateConstant
Function · 0.85
SetRenderConstant
Function · 0.85
SetMaterialConstant
Function · 0.85
SetComputeConstant
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68