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.
Inherited Members
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
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 |