Method SetKeyword
SetKeyword(ref GlobalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
void SetKeyword(ref GlobalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
GlobalKeyword | keyword | |
bool | value |
SetKeyword(Material, ref LocalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
void SetKeyword(Material material, ref LocalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
Material | material | |
LocalKeyword | keyword | |
bool | value |
SetKeyword(ComputeShader, ref LocalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
void SetKeyword(ComputeShader computeShader, ref LocalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | computeShader | |
LocalKeyword | keyword | |
bool | value |