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