Search Results for

    Show / Hide Table of Contents

    Class ParameterUsage

    Parameter usage.

    Inheritance
    object
    ParameterUsage
    Namespace: Evergine.Framework.Graphics.Effects.Analyzer
    Assembly: Evergine.Framework.dll
    Syntax
    public class ParameterUsage

    Constructors

    ParameterUsage(ParameterInfo)

    Initializes a new instance of the ParameterUsage class.

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

    Parameter information.

    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

    Indicates whether the parameter is used.

    Fields

    IsUsed

    Indicates whether the current shader technique uses 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()

    Returns a cloned instance of the parameter.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    Cloned instance.

    Read(BinaryReader)

    Reads a ParameterUsage from a binary file.

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

    The binary reader.

    Returns
    Type Description
    ParameterUsage

    The read parameterUsage.

    Write(BinaryWriter)

    Writes a ParameterUsage into a binary file.

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

    The binary writer.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX