LDKCamera
typedef struct LDKCamera{
LDKCameraProjection projection;
LDKCameraRole role;
float fov_y;
float orthographic_height;
float near_plane;
float far_plane;
bool enabled;
LDKCameraBackgroundMode background_mode;
u32 background_color;
LDKAssetSkybox skybox_asset;
u64 skybox_revision;
LDKResourceSkybox renderer_skybox;
struct LDKRenderer *renderer;
}LDKCamera;
LDKCameraBackgroundMode
typedef enum LDKCameraBackgroundMode{
LDK_CAMERA_BACKGROUND_COLOR=0,
LDK_CAMERA_BACKGROUND_SKYBOX,
LDK_CAMERA_BACKGROUND_NONE
}LDKCameraBackgroundMode;
LDKCameraProjection
typedef enum LDKCameraProjection{
LDK_CAMERA_PROJECTION_PERSPECTIVE=0,
LDK_CAMERA_PROJECTION_ORTHOGRAPHIC
}LDKCameraProjection;
LDKCameraRole
typedef enum LDKCameraRole{
LDK_CAMERA_ROLE_NONE=0,
LDK_CAMERA_ROLE_MAIN,
LDK_CAMERA_ROLE_EDITOR,
LDK_CAMERA_ROLE_RENDER_TARGET
}LDKCameraRole;