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 TextureLink struct.
Declaration
public TextureLink(Guid id, string name)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | Texture id. |
string | name | Texture link name. |
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 |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
TextureLink | The loaded asset part. |
Write(BinaryWriter)
Write this asset.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |