docs.unity.cn
    Show / Hide Table of Contents

    Class InputTextureAttribute

    Declares a given parameter to be a texture, used to discover shader textures at runtime. Implicitly declares the parameter to be in the "inputs" namespace.

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

    Constructors

    InputTextureAttribute()

    Declaration
    public InputTextureAttribute()

    InputTextureAttribute(String)

    Declaration
    public InputTextureAttribute(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