Class TextureDataPart
This class represent a texture data asset part.
Inherited Members
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 lengths.
Declaration
public int[,] PixelDataLengths
Field Value
Type | Description |
---|---|
int[,] |
Methods
Free()
Release the resources used by this instance.
Declaration
public void Free()
Read(BinaryReader)
Read 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. |