Struct ShaderKeywords
Stores the enabled and disabled shader keywords for a material.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct ShaderKeywords
Constructors
ShaderKeywords(ReadOnlyCollection<string>, ReadOnlyCollection<string>)
Constructs a ShaderKeywords.
Declaration
public ShaderKeywords(ReadOnlyCollection<string> enabledKeywords = null, ReadOnlyCollection<string> disabledKeywords = null)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyCollection<string> | enabledKeywords | The enabled shader keywords. |
ReadOnlyCollection<string> | disabledKeywords | The disabled shader keywords. |
See Also
Properties
disabledKeywords
The disabled shader keywords.
Declaration
public readonly ReadOnlyCollection<string> disabledKeywords { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<string> |
See Also
enabledKeywords
The enabled shader keywords.
Declaration
public readonly ReadOnlyCollection<string> enabledKeywords { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<string> |