Struct in ldk_text3d.h

LDKText3DComponent

typedef struct LDKText3DComponent{
  XSmallstr text;
  LDKAssetFont font;
  float pixel_height;
  u32 color;
  bool billboard;
  bool depth_test;
}LDKText3DComponent;
Function in ldk_text3d.h

ldk_text3d_component_desc

Build the ECS registration descriptor for the text3d component.

LDK_API LDKComponentDesc ldk_text3d_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.