Class SamplerInfo
Sampler graphic resource information.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class SamplerInfo : GraphicsResourceInfo, IEquatable<GraphicsResourceInfo>
Constructors
SamplerInfo(string, int)
Initializes a new instance of the SamplerInfo class.
Declaration
public SamplerInfo(string name, int slot)
Parameters
Type | Name | Description |
---|---|---|
string | name | Sampler name. |
int | slot | Sampler slot. |
SamplerInfo(string, string)
Initializes a new instance of the SamplerInfo class.
Declaration
public SamplerInfo(string name, string slot)
Parameters
Type | Name | Description |
---|---|---|
string | name | Sampler name. |
string | slot | Sampler slot. |
Methods
Read(BinaryReader)
Read a samplerInfo from a binary file.
Declaration
public static SamplerInfo Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
SamplerInfo | The read samplerInfo. |
Write(BinaryWriter)
Write a samplerInfo into a binary file.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |