Class TextureInfo
Texture graphic resource information.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class TextureInfo : GraphicsResourceInfo, IEquatable<GraphicsResourceInfo>
  Constructors
TextureInfo(string, int, TextureType, TextureSemantic, int)
Initializes a new instance of the TextureInfo class.
Declaration
public TextureInfo(string name, int slot, TextureType textureType, TextureInfo.TextureSemantic semantic, int semanticIndex)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | Texture name.  | 
      
| int | slot | Texture slot.  | 
      
| TextureType | textureType | Texture type.  | 
      
| TextureInfo.TextureSemantic | semantic | Texture semantic.  | 
      
| int | semanticIndex | Texture semantic index.  | 
      
See Also
TextureInfo(string, string, string, string)
Initializes a new instance of the TextureInfo class.
Declaration
public TextureInfo(string name, string textureType, string offset, string tag)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | Texture Name.  | 
      
| string | textureType | Texture Type.  | 
      
| string | offset | Texture Offset.  | 
      
| string | tag | Texture Tag.  | 
      
See Also
Fields
Semantic
The texture semantic.
Declaration
public TextureInfo.TextureSemantic Semantic
  Field Value
| Type | Description | 
|---|---|
| TextureInfo.TextureSemantic | 
See Also
SemanticIndex
The semantic index.
Declaration
public int SemanticIndex
  Field Value
| Type | Description | 
|---|---|
| int | 
See Also
TextureType
The texture type.
Declaration
public TextureType TextureType
  Field Value
| Type | Description | 
|---|---|
| TextureType | 
See Also
Methods
Read(BinaryReader)
Read a samplerInfo from a binary file.
Declaration
public static TextureInfo Read(BinaryReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryReader | reader | The binary reader.  | 
      
Returns
| Type | Description | 
|---|---|
| TextureInfo | The read samplerInfo.  | 
      
See Also
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.  |