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

Function SetComputeProgramConstant

engine/render/src/render/compute.cpp:87–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void SetComputeProgramConstant(HComputeProgram compute_program, dmhash_t name_hash, Vector4* values, uint32_t count)
88 {
89 SetProgramRenderConstant(compute_program->m_Constants, name_hash, values, count);
90 }
91
92 void SetComputeProgramConstantType(HComputeProgram compute_program, dmhash_t name_hash, dmRenderDDF::MaterialDesc::ConstantType type)
93 {

Callers 2

SetProgramFunction · 0.85
SetComputeConstantFunction · 0.85

Calls 1

SetProgramRenderConstantFunction · 0.85

Tested by

no test coverage detected