Function in ldk_light.h

ldk_directional_light_component_desc

Build the ECS registration descriptor for the directional light component.

LDK_API LDKComponentDesc ldk_directional_light_component_desc(u32 initial_capacity);

Parameters

u32 initial_capacity
Initial number of entries reserved in the registry.

Returns

A descriptor for the requested component or resource.

Function in ldk_light.h

ldk_point_light_component_desc

Build the ECS registration descriptor for the point light component.

LDK_API LDKComponentDesc ldk_point_light_component_desc(u32 initial_capacity);

Parameters

u32 initial_capacity
Initial number of entries reserved in the registry.

Returns

A descriptor for the requested component or resource.

Function in ldk_light.h

ldk_spot_light_component_desc

Build the ECS registration descriptor for the spot light component.

LDK_API LDKComponentDesc ldk_spot_light_component_desc(u32 initial_capacity);

Parameters

u32 initial_capacity
Initial number of entries reserved in the registry.

Returns

A descriptor for the requested component or resource.