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

Function GetComputeProgramSamplerUnit

engine/render/src/render/compute.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 uint32_t GetComputeProgramSamplerUnit(HComputeProgram compute_program, dmhash_t name_hash)
108 {
109 return GetProgramSamplerUnit(compute_program->m_Samplers, name_hash);
110 }
111
112 HSampler GetComputeProgramSampler(HComputeProgram program, uint32_t unit)
113 {

Callers 4

SetProgramFunction · 0.85
TEST_FFunction · 0.85
SetComputeSamplerFunction · 0.85
SetComputeTextureFunction · 0.85

Calls 1

GetProgramSamplerUnitFunction · 0.85

Tested by 1

TEST_FFunction · 0.68