Search Results for

    Show / Hide Table of Contents

    Class ParameterUsage

    Parameter usage.

    Inheritance
    object
    ParameterUsage
    Implements
    ICloneable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics.Effects.Analyzer
    Assembly: Evergine.Framework.dll
    Syntax
    public class ParameterUsage : ICloneable

    Constructors

    ParameterUsage(ParameterInfo)

    Initializes a new instance of the ParameterUsage class.

    Declaration
    public ParameterUsage(ParameterInfo info)
    Parameters
    Type Name Description
    ParameterInfo info

    Parameter info.

    ParameterUsage(int, bool)

    Initializes a new instance of the ParameterUsage class.

    Declaration
    public ParameterUsage(int offset, bool isUsed)
    Parameters
    Type Name Description
    int offset

    Parameter offset.

    bool isUsed

    Parameter use.

    Fields

    IsUsed

    Indicated whether current shader technique use this parameter in any stage.

    Declaration
    public bool IsUsed
    Field Value
    Type Description
    bool

    Offset

    Parameter offset attribute.

    Declaration
    public int Offset
    Field Value
    Type Description
    int

    Methods

    Clone()

    Return a cloned instance of parameter.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    Cloned instance.

    Read(BinaryReader)

    Read a ParameterUsage from binary file.

    Declaration
    public static ParameterUsage Read(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    Returns
    Type Description
    ParameterUsage

    The readed parameterUsage.

    Write(BinaryWriter)

    Write a ParameterUsage into binary file.

    Declaration
    public void Write(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    The binary writer.

    Implements

    ICloneable

    Extension Methods

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