Class AssetExtensions
Inheritance
AssetExtensions
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public static class AssetExtensions
Fields
|
Edit this page
View Source
ExcludedDirectories
Declaration
public static readonly IReadOnlySet<string> ExcludedDirectories
Field Value
|
Edit this page
View Source
Map
Declaration
public static readonly IReadOnlyDictionary<string, AssetCategory> Map
Field Value
Methods
|
Edit this page
View Source
IsPackedAsset(AssetCategory)
Returns true if assets of this category should be written to a .cecal archive.
Code files are excluded — game code is compiled to DLLs and loaded via .NET
assembly resolution, not the asset VFS.
Declaration
public static bool IsPackedAsset(AssetCategory category)
Parameters
Returns
|
Edit this page
View Source
TryGetCategory(string, out AssetCategory)
Attempts to classify a file by its extension (case-insensitive).
Declaration
public static bool TryGetCategory(string path, out AssetCategory category)
Parameters
Returns