Struct in ldk_skybox_asset.h

LDKAssetSkyboxData

typedef struct LDKAssetSkyboxData{
  LDKSkyboxDesc descriptor;
  u64 revision;
  bool dirty;
}LDKAssetSkyboxData;
Function in ldk_skybox_asset.h

ldk_asset_manager_skybox_create

Create the asset manager skybox.

LDK_API LDKAssetSkybox ldk_asset_manager_skybox_create(
 const LDKSkyboxIOContext *context,
 const char *path,
 const LDKSkyboxDesc *descriptor,
 LDKSkyboxIOResult *result
);

Parameters

const LDKSkyboxIOContext *context
Context used by this operation.
const char *path
Path identifying the file or resource.
const LDKSkyboxDesc *descriptor
Resource or component descriptor.
LDKSkyboxIOResult *result
Optional result structure populated with error details.

Returns

Handle to the requested object or resource.

Function in ldk_skybox_asset.h

ldk_asset_manager_skybox_load_shared

Load or reuse shared the asset manager skybox.

LDK_API LDKAssetSkybox ldk_asset_manager_skybox_load_shared(
 const LDKSkyboxIOContext *context,
 const char *path,
 LDKSkyboxIOResult *result
);

Parameters

const LDKSkyboxIOContext *context
Context used by this operation.
const char *path
Path identifying the file or resource.
LDKSkyboxIOResult *result
Optional result structure populated with error details.

Returns

Handle to the requested object or resource.