MCPcopy Create free account
hub / github.com/defold/defold / SetComputeProgramConstantType

Function SetComputeProgramConstantType

engine/render/src/render/compute.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void SetComputeProgramConstantType(HComputeProgram compute_program, dmhash_t name_hash, dmRenderDDF::MaterialDesc::ConstantType type)
93 {
94 SetProgramConstantType(compute_program->m_Constants, name_hash, type);
95 }
96
97 bool GetComputeProgramConstant(HComputeProgram compute_program, dmhash_t name_hash, HConstant& out_value)
98 {

Callers 2

SetProgramFunction · 0.85
SetComputeConstantFunction · 0.85

Calls 1

SetProgramConstantTypeFunction · 0.85

Tested by

no test coverage detected