docs.unity.cn
    Show / Hide Table of Contents

    Class InputParameterAttribute

    A declaration that a given value is a shader input, used to discover shader parameters at runtime. Implicitly declares the parameter to be in the "inputs" namespace.

    Inheritance
    Object
    Attribute
    UsdNamespaceAttribute
    InputParameterAttribute
    Inherited Members
    UsdNamespaceAttribute.Name
    Namespace: USD.NET.Unity
    Syntax
    public class InputParameterAttribute : UsdNamespaceAttribute, _Attribute

    Constructors

    InputParameterAttribute()

    Declaration
    public InputParameterAttribute()

    InputParameterAttribute(String)

    Declaration
    public InputParameterAttribute(string unityName)
    Parameters
    Type Name Description
    String unityName

    The corresponding name in the Unity shader.

    Properties

    UnityName

    Declaration
    public string UnityName { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023