Struct TextureLink
This struct represent a link between a material and a texture.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public struct TextureLink
Constructors
TextureLink(Guid, string)
Initializes a new instance of the Texture
Declaration
public TextureLink(Guid id, string name)
Parameters
Fields
ID
The texture Id.
Declaration
public Guid ID
Field Value
Type | Description |
---|---|
Guid |
Name
The texture name.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Methods
Read(BinaryReader)
Read this asset part.
Declaration
public static TextureLink Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Binary |
reader | The binary reader. |
Returns
Type | Description |
---|---|
Texture |
The loaded asset part. |
Write(BinaryWriter)
Write this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Binary |
writer | The binary writer. |