LDK_GRASS_MAX_SIDE_COUNT

#define LDK_GRASS_MAX_SIDE_COUNT 8u

LDK_GRASS_MIN_SIDE_COUNT

#define LDK_GRASS_MIN_SIDE_COUNT 3u
Function in ldk_grass_system.h

ldk_grass_get_id_by_name

Return the active configuration index for name, or INVALID when absent.

LDK_API LDKGrassTypeId ldk_grass_get_id_by_name(const char *name);

Parameters

const char *name
Name identifying the object or setting.

Returns

The requested value.

Function in ldk_grass_system.h

ldk_grass_system_initialize

Initialize the grass system.

int ldk_grass_system_initialize(void *data);

Parameters

void *data
Source data or system-owned context for this operation.

Returns

System initialization status code.

Function in ldk_grass_system.h

ldk_grass_system_terminate

Shut down the grass system.

void ldk_grass_system_terminate(void *data);

Parameters

void *data
Source data or system-owned context for this operation.
Function in ldk_grass_system.h

ldk_grass_system_update

Update the grass system.

void ldk_grass_system_update(
 void *data,
 const LDKEntityGroup *group,
 float dt
);

Parameters

void *data
Source data or system-owned context for this operation.
const LDKEntityGroup *group
Entity group used for this system update.
float dt
Elapsed time since the preceding update, in seconds.