Search Results for

    Show / Hide Table of Contents

    Class AssetExporter<TAsset, TProfile>

    The Asset Exporter class.

    Inheritance
    object
    BaseAssetExporter<TAsset, TProfile>
    AssetExporter<TAsset, TProfile>
    CustomTextureExporter
    EffectExporter
    FontExporter
    FrameBufferExporter
    MaterialExporter
    ModelExporter
    ParticlesExporter
    PostProcessingGraphExporter
    ReflectionProbeExporter
    RenderLayerExporter
    SamplerExporter
    SoundExporter
    TextureExporter
    Implements
    IAssetExporter
    Inherited Members
    BaseAssetExporter<TAsset, TProfile>.Extension
    BaseAssetExporter<TAsset, TProfile>.GetExportFilePath(TAsset, TProfile, ExportContext)
    BaseAssetExporter<TAsset, TProfile>.BaseExport(TAsset, TProfile, ExportContext)
    BaseAssetExporter<TAsset, TProfile>.ExportOutputFile(TAsset, TProfile, ExportContext)
    Namespace: Evergine.Assets.Exporters
    Assembly: Evergine.Assets.dll
    Syntax
    public abstract class AssetExporter<TAsset, TProfile> : BaseAssetExporter<TAsset, TProfile>, IAssetExporter where TAsset : IAssetMetaFile where TProfile : AssetProfile
    Type Parameters
    Name Description
    TAsset

    The generic asset type.

    TProfile

    The generic profile type.

    Methods

    ExportOutputFile(TAsset, TProfile, ExportContext)

    Exports the assets.

    Declaration
    protected override Task<ExportResult> ExportOutputFile(TAsset asset, TProfile profile, ExportContext exportContext)
    Parameters
    Type Name Description
    TAsset asset

    The asset meta file.

    TProfile profile

    The profile object.

    ExportContext exportContext

    The export context.

    Returns
    Type Description
    Task<ExportResult>

    An awaitable task representing the result of the export process.

    Overrides
    BaseAssetExporter<TAsset, TProfile>.ExportOutputFile(TAsset, TProfile, ExportContext)

    GenerateAssetParts(TAsset, TProfile, ExportContext)

    Exports the asset.

    Declaration
    protected abstract Task<List<AssetPart>> GenerateAssetParts(TAsset metafile, TProfile profile, ExportContext exportContext)
    Parameters
    Type Name Description
    TAsset metafile

    The metafile.

    TProfile profile

    The profile.

    ExportContext exportContext

    The export context.

    Returns
    Type Description
    Task<List<AssetPart>>

    The export result.

    GetExportFilePath(TAsset, TProfile, ExportContext)

    Gets the export file path.

    Declaration
    public override string GetExportFilePath(TAsset asset, TProfile profile, ExportContext exportContext)
    Parameters
    Type Name Description
    TAsset asset

    The asset.

    TProfile profile

    The profile.

    ExportContext exportContext

    The export context.

    Returns
    Type Description
    string

    The export file path.

    Overrides
    BaseAssetExporter<TAsset, TProfile>.GetExportFilePath(TAsset, TProfile, ExportContext)

    Implements

    IAssetExporter

    Extension Methods

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