Class StructuredBufferInfo
Structured Buffer resource information.
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class StructuredBufferInfo : GraphicsResourceInfo, IEquatable<GraphicsResourceInfo>
  Constructors
StructuredBufferInfo(string, string, int)
Initializes a new instance of the StructuredBufferInfo class.
Declaration
public StructuredBufferInfo(string name, string structType, int slot)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | StructuredBuffer name.  | 
      
| string | structType | Struct type.  | 
      
| int | slot | StructuredBuffer slot.  | 
      
StructuredBufferInfo(string, string, string)
Initializes a new instance of the StructuredBufferInfo class.
Declaration
public StructuredBufferInfo(string name, string structType, string slot)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | StructuredBuffer name.  | 
      
| string | structType | Struct type.  | 
      
| string | slot | StructuredBuffer slot.  | 
      
Fields
StructType
Struct type inside of StructuredBuffer.
Declaration
public Type StructType
  Field Value
| Type | Description | 
|---|---|
| Type | 
StructTypeSize
Struct Type Size.
Declaration
public int StructTypeSize
  Field Value
| Type | Description | 
|---|---|
| int | 
sStructType
Struct string type inside of StructuredBuffer.
Declaration
public string sStructType
  Field Value
| Type | Description | 
|---|---|
| string | 
Methods
Read(BinaryReader)
Read a StructuredBuffer from binary file.
Declaration
public static StructuredBufferInfo Read(BinaryReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryReader | reader | The binary reader.  | 
      
Returns
| Type | Description | 
|---|---|
| StructuredBufferInfo | The read structuredBuffer.  | 
      
Write(BinaryWriter)
Write a structuredBuffer into a binary file.
Declaration
public override void Write(BinaryWriter writer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryWriter | writer | The binary writer.  |