Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientSceneLoadInfo Struct Reference

Scene/model load attributes. More...

#include <RadientAssets.h>

Public Attributes

const Char * URI = nullptr
 Source URI. The scheme may identify a local file, remote resource, or memory-backed source.
RADIENT_SCENE_FORMAT Format = RADIENT_SCENE_FORMAT_AUTO
const Char * ImporterId = nullptr

Detailed Description

Scene/model load attributes.

Member Data Documentation

◆ Format

RADIENT_SCENE_FORMAT Diligent::RadientSceneLoadInfo::Format = RADIENT_SCENE_FORMAT_AUTO

Source format used when ImporterId is null or empty. AUTO selects the first registered importer that recognizes URI; GLTF explicitly selects "gltf".

◆ ImporterId

const Char* Diligent::RadientSceneLoadInfo::ImporterId = nullptr

Optional case-sensitive importer identifier. A nonempty identifier selects that registered importer, takes precedence over Format, and bypasses URI recognition. Null or empty uses Format. Importer selection completes and URI is copied during LoadScene; caller strings can be released after it returns. An unregistered identifier returns RADIENT_STATUS_UNSUPPORTED.