Table of Contents

Class TextureSerializationData

Namespace
Stride.Graphics.Data
Assembly
Stride.Graphics.dll

Texture serialization data

public sealed class TextureSerializationData
Inheritance
TextureSerializationData
Extension Methods

Constructors

TextureSerializationData(Image)

Initializes a new instance of the TextureSerializationData class.

public TextureSerializationData(Image image)

Parameters

image Image

The image.

TextureSerializationData(Image, bool, ContentStorageHeader)

Initializes a new instance of the TextureSerializationData class.

public TextureSerializationData(Image image, bool enableStreaming, ContentStorageHeader storageHeader)

Parameters

image Image

The image.

enableStreaming bool

Enables/disables texture streaming

storageHeader ContentStorageHeader

Streaming storage data

Fields

EnableStreaming

Enables/disables texture streaming.

public bool EnableStreaming

Field Value

bool

Image

The texture image.

public Image Image

Field Value

Image

StorageHeader

The raw bytes with a content storage header description.

public ContentStorageHeader StorageHeader

Field Value

ContentStorageHeader

Methods

Write(SerializationStream)

Saves this instance to a stream.

public void Write(SerializationStream stream)

Parameters

stream SerializationStream

The destination stream.