Search Results for

    Show / Hide Table of Contents

    Class TextureSource

    This class represents the texture asset source.

    Inheritance
    object
    AssetSource
    TextureSource
    Implements
    IAssetSource
    Inherited Members
    AssetSource.ImporterContext
    AssetSource.IsPreprocessed
    AssetSource.Importer
    AssetSource.Id
    AssetSource.LastModified
    AssetSource.Header
    AssetSource.GetImporter(string)
    AssetSource.FindAssetPart<TPart>(int)
    AssetSource.FindAssetParts<TPart>()
    AssetSource.UpdateAssetPart<TPart>(TPart, int)
    Namespace: Evergine.Framework.Assets
    Assembly: Evergine.Framework.dll
    Syntax
    public class TextureSource : AssetSource, IAssetSource

    Properties

    AssetParts

    Gets the asset parts from the source.

    Declaration
    public override List<AssetPart> AssetParts { get; }
    Property Value
    Type Description
    List<AssetPart>
    Overrides
    AssetSource.AssetParts

    TextureData

    Gets or sets the texture information.

    Declaration
    public TextureDataPart TextureData { get; set; }
    Property Value
    Type Description
    TextureDataPart

    TextureInfo

    Gets or sets the texture information.

    Declaration
    public TextureInfoPart TextureInfo { get; set; }
    Property Value
    Type Description
    TextureInfoPart

    Methods

    CalculateType()

    Calculates the texture type.

    Declaration
    public TextureType CalculateType()
    Returns
    Type Description
    TextureType

    The texture type enum.

    Free()

    Frees all resources of this asset source.

    Declaration
    public override void Free()
    Overrides
    AssetSource.Free()

    GetDataBoxes(TextureInfoPart, TextureDataPart)

    Gets the texture data boxes.

    Declaration
    public static DataBox[] GetDataBoxes(TextureInfoPart textureInfo, TextureDataPart textureData)
    Parameters
    Type Name Description
    TextureInfoPart textureInfo

    The texture info part.

    TextureDataPart textureData

    The texture data part.

    Returns
    Type Description
    DataBox[]

    The texture data boxes.

    Implements

    IAssetSource

    Extension Methods

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