Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class AssetExtensions

    Inheritance
    object
    AssetExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PopcorningGuineaPig.Engine.Assets
    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
    Type Description
    IReadOnlySet<string>
    | Edit this page View Source

    Map

    Declaration
    public static readonly IReadOnlyDictionary<string, AssetCategory> Map
    Field Value
    Type Description
    IReadOnlyDictionary<string, AssetCategory>

    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
    Type Name Description
    AssetCategory category
    Returns
    Type Description
    bool
    | 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
    Type Name Description
    string path
    AssetCategory category
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.