UpdateLightValues method

void UpdateLightValues(
  1. ShaderD shader,
  2. LightD light
)

Send light properties to shader

Implementation

void UpdateLightValues(
  ShaderD shader,
  LightD light,
) => run(
  () => _debugLabels.UpdateLightValues(shader, light),
  () => _flat.UpdateLightValues(
    shader,
    light,
  ),
);