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

Function ApplyComputeProgramLightBuffers

engine/render/src/render/light.cpp:427–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 }
426
427 void ApplyComputeProgramLightBuffers(HRenderContext render_context, HComputeProgram compute_program)
428 {
429 if (!compute_program->m_HasLightBuffer)
430 {
431 return;
432 }
433 ApplyLightBufferForBinding(render_context, compute_program->m_LightBufferSet, compute_program->m_LightBufferBinding);
434 }
435}

Callers 2

DispatchComputeFunction · 0.85
TEST_FFunction · 0.85

Calls 1

Tested by 1

TEST_FFunction · 0.68