Search Results for

    Show / Hide Table of Contents

    Class TextureDataPart

    This class represents a texture data asset part.

    Inheritance
    object
    IdentifiableObject
    AssetPart
    TextureDataPart
    Inherited Members
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Assets.AssetParts
    Assembly: Evergine.Framework.dll
    Syntax
    public class TextureDataPart : AssetPart

    Fields

    PixelDataArray

    The texture data array.

    Declaration
    public byte[,][] PixelDataArray
    Field Value
    Type Description
    byte[,][]

    PixelDataLengths

    The texture data length.

    Declaration
    public int[,] PixelDataLengths
    Field Value
    Type Description
    int[,]

    Methods

    Free()

    Releases the resources used by this instance.

    Declaration
    public void Free()

    Read(BinaryReader)

    Reads this asset part.

    Declaration
    public static TextureDataPart Read(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    Returns
    Type Description
    TextureDataPart

    The loaded asset part.

    Write(BinaryWriter)

    Writes the sub-asset.

    Declaration
    public override void Write(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    The stream.

    Overrides
    AssetPart.Write(BinaryWriter)

    Extension Methods

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