Class RequireShaderKeywordsAttribute
Declares required keywords when the given parameter is used. Only currently applicable to textures.
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 RequireShaderKeywordsAttribute : Attribute, _Attribute
Constructors
RequireShaderKeywordsAttribute(String)
Declaration
public RequireShaderKeywordsAttribute(string keyword)
Parameters
Type | Name | Description |
---|---|---|
String | keyword |
RequireShaderKeywordsAttribute(String[])
Declaration
public RequireShaderKeywordsAttribute(string[] keywords)
Parameters
Type | Name | Description |
---|---|---|
String[] | keywords |
Properties
Keywords
Declaration
public string[] Keywords { get; }
Property Value
Type | Description |
---|---|
String[] |