|
NSUNI/NSLAR Library a250670
|
Namespaces | |
| namespace | nnl::asset::Asset3D |
| Constants for accessing entries in an asset container that stores a 3D object. | |
| namespace | nnl::asset::SoundBank |
| Constants for accessing entries in an asset container that stores a PHD/PBD sound bank, a proprietary format developed by Sony. More details can be found in the official PSP SDK docs. | |
| namespace | nnl::asset::BitmapText |
| Constants for accessing entries in an asset container that stores a bitmap text archive. | |
Enumerations | |
| enum | nnl::asset::Category : u32 { nnl::asset::kUnknown = 0 , nnl::asset::kAsset3DModel = 0b10000001 , nnl::asset::kAsset3DAnim = 0b10000010 , nnl::asset::kAsset3DAction = 0b10000100 , nnl::asset::kAsset3DEffect = 0b10001000 , nnl::asset::kSoundBank = 0b1'00000000 , nnl::asset::kBitmapTextFont = 0b101'0'00000000 , nnl::asset::kBitmapTextFull = 0b110'0'00000000 , nnl::asset::kUIConfigs = 0b1'000'0'00000000 , nnl::asset::kUIConfigTextureContainer = 0b1'0'000'0'00000000 , nnl::asset::kPlaceholder = 0x80000000 } |
| Classification for asset container layouts. More... | |
Functions | |
| Category | nnl::asset::Categorize (const Asset &asset) |
| Determines the category of an asset by analyzing its contents. | |
| Category | nnl::asset::Categorize (const AssetView &asset) |
| Determines the category of an asset by analyzing its contents. | |
| enum nnl::asset::Category : u32 |
Classification for asset container layouts.
Defines a container's category based on the entry types expected at specific keys and the combined asset they represent.
| Enumerator | |
|---|---|
| kUnknown | Unknown. |
| kAsset3DModel | Contains kModel and possibly other parts |
| kAsset3DAnim | Contains kAnimationContainer and other animation types for another kAsset3DModel |
| kAsset3DAction | Contains only kActionConfig. |
| kAsset3DEffect | Appears only in NSLAR, contains kActionConfig, kCollectionSpline, kTextureContainer2 |
| kSoundBank | A PHD/PBD pair (header + ADPCM data)
|
| kBitmapTextFont | Consists of kTextureContainer and kAdvanceWidth Used in NSLAR.
|
| kBitmapTextFull | Consists of kTextureContainer, glyph spacing, kText. |
| kUIConfigs | Consists of multiple kUIConfig's. |
| kUIConfigTextureContainer | Consists of pairs of kUIConfig and kTextureContainer. |
| kPlaceholder | No entries. |
Determines the category of an asset by analyzing its contents.
| asset | The asset to examine. |
Determines the category of an asset by analyzing its contents.
| asset | The asset to examine. |