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

Function ApplyMaterialProgramLightBuffers

engine/render/src/render/light.cpp:418–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 }
417
418 void ApplyMaterialProgramLightBuffers(HRenderContext render_context, HMaterial material)
419 {
420 if (!material->m_HasLightBuffer)
421 {
422 return;
423 }
424 ApplyLightBufferForBinding(render_context, material->m_LightBufferSet, material->m_LightBufferBinding);
425 }
426
427 void ApplyComputeProgramLightBuffers(HRenderContext render_context, HComputeProgram compute_program)
428 {

Callers 2

DrawFunction · 0.85
TEST_FFunction · 0.85

Calls 1

Tested by 1

TEST_FFunction · 0.68