Class SamplerInfoPart
This class represents a Sampler info asset part.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class SamplerInfoPart : AssetPart
Fields
Description
The sampling state of the texture.
Declaration
public SamplerStateDescription Description
Field Value
Type | Description |
---|---|
SamplerStateDescription |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static SamplerInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
SamplerInfoPart | 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. |