Class SamplerInfo
Information about the sampler graphic resource.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class SamplerInfo : 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 | The name of the sampler. |
| int | slot | The slot of the sampler. |
SamplerInfo(string, string)
Initializes a new instance of the SamplerInfo class.
Declaration
public SamplerInfo(string name, string slot)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the sampler. |
| string | slot | The slot of the sampler. |
Methods
Read(BinaryReader)
Reads 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)
Writes a samplerInfo into a binary file.
Declaration
public override void Write(BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer | The binary writer. |