Search Results for

    Show / Hide Table of Contents

    Class StructuredBufferInfo

    Structured Buffer resource information.

    Inheritance
    object
    GraphicsResourceInfo
    StructuredBufferInfo
    Implements
    IEquatable<GraphicsResourceInfo>
    Inherited Members
    GraphicsResourceInfo.Name
    GraphicsResourceInfo.Type
    GraphicsResourceInfo.Slot
    GraphicsResourceInfo.Equals(GraphicsResourceInfo)
    GraphicsResourceInfo.Equals(object)
    GraphicsResourceInfo.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Overrides
    GraphicsResourceInfo.Write(BinaryWriter)

    Implements

    IEquatable<T>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX