#[repr(C)]pub struct SsMissingAsset {
pub kind: u32,
pub slot: u32,
pub name: *const c_char,
}Expand description
Something a load needed and did not get, flattened for the ABI.
What ss_player_missing_at fills in.
Fields§
§kind: u32SS_MISSING_TEXTURE or SS_MISSING_PACK.
slot: u32For a texture, the slot a draw batch will ask for — an id inside the
pack, not the key ss_scene_add_texture takes. Zero for a pack, whose
identity is its name. Match a missing atlas by name; this is for logs.
name: *const c_charThe path asked for, or the pack’s name.
For a texture this is the path the exporter wrote, relative to its
pack’s directory — the walk hands the loader bare names and never
builds a full path, so no full path exists to report. Join it
onto the directory of what you passed ss_player_load if you want one.
Owned by the scene and valid until the next ss_player_missing_at on it;
copy it if you need to keep it. Never null.