Class TextureSerializationData
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
ImageThe image.
TextureSerializationData(Image, bool, ContentStorageHeader)
Initializes a new instance of the TextureSerializationData class.
public TextureSerializationData(Image image, bool enableStreaming, ContentStorageHeader storageHeader)
Parameters
image
ImageThe image.
enableStreaming
boolEnables/disables texture streaming
storageHeader
ContentStorageHeaderStreaming storage data
Fields
EnableStreaming
Enables/disables texture streaming.
public bool EnableStreaming
Field Value
Image
The texture image.
public Image Image
Field Value
StorageHeader
The raw bytes with a content storage header description.
public ContentStorageHeader StorageHeader
Field Value
Methods
Write(SerializationStream)
Saves this instance to a stream.
public void Write(SerializationStream stream)
Parameters
stream
SerializationStreamThe destination stream.