Class TextureInfoPart
The texture info part.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class TextureInfoPart : AssetPart
  Constructors
TextureInfoPart()
Initializes a new instance of the TextureInfoPart class.
Declaration
public TextureInfoPart()
  Fields
Description
The texture description.
Declaration
public TextureDescription Description
  Field Value
| Type | Description | 
|---|---|
| TextureDescription | 
HasData
Indicates if this texture has data.
Declaration
public bool HasData
  Field Value
| Type | Description | 
|---|---|
| bool | 
SamplerID
The sampler Id.
Declaration
public Guid SamplerID
  Field Value
| Type | Description | 
|---|---|
| Guid | 
Methods
Read(BinaryReader)
Read this asset part.
Declaration
public static TextureInfoPart Read(BinaryReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryReader | reader | The binary reader.  | 
      
Returns
| Type | Description | 
|---|---|
| TextureInfoPart | 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.  |