Search Results for

    Show / Hide Table of Contents

    Interface IAssetSourceLoadableConverter

    Converts an Asset Source into a loadable asset.

    Namespace: Evergine.Framework.Assets
    Assembly: Evergine.Framework.dll
    Syntax
    public interface IAssetSourceLoadableConverter

    Properties

    ExportedExtension

    Gets the exported extension of the source file.

    Declaration
    string ExportedExtension { get; }
    Property Value
    Type Description
    string

    LoadableType

    Gets the type that can be loaded.

    Declaration
    Type LoadableType { get; }
    Property Value
    Type Description
    Type

    Methods

    Convert(IAssetSource)

    Converts an asset source into a loadable element.

    Declaration
    ILoadable Convert(IAssetSource source)
    Parameters
    Type Name Description
    IAssetSource source

    The asset source.

    Returns
    Type Description
    ILoadable

    The loadable element.

    Convert(IAssetSource, Type)

    Converts an asset source into a loadable element.

    Declaration
    ILoadable Convert(IAssetSource source, Type loadableType)
    Parameters
    Type Name Description
    IAssetSource source

    The asset source.

    Type loadableType

    The loadable type.

    Returns
    Type Description
    ILoadable

    The loadable element.

    Convert<T>(IAssetSource)

    Converts an asset source into a loadable.

    Declaration
    T Convert<T>(IAssetSource source) where T : ILoadable
    Parameters
    Type Name Description
    IAssetSource source

    The asset source.

    Returns
    Type Description
    T

    The loadable element.

    Type Parameters
    Name Description
    T

    The type of the loadable to be loaded.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX