CreateLight method
Create a light and get its shader locations
Implementation
Light CreateLight(
LightType type,
Vector3 position,
Vector3 target,
Color color,
Shader shader,
) => run(
() => _debugLabels.CreateLight(type, position, target, color, shader),
() => _flat.CreateLight(
type.value,
position,
target,
color,
shader,
),
);