Class TMP_BaseShaderGUI.ShaderFeature
  
Representation of a #pragma shader_feature.
 
Inheritance
TMP_BaseShaderGUI.ShaderFeature
 
Syntax
protected class ShaderFeature
 
Fields
  
keywordLabels
The keyword labels, for display. Include the no-keyword as the first option.
 
Declaration
public GUIContent[] keywordLabels
 
Field Value
keywords
The shader keywords. Exclude the no-keyword option.
 
Declaration
Field Value
label
Declaration
Field Value
undoLabel
Declaration
Field Value
Properties
  
Active
Declaration
public bool Active { get; }
 
Property Value
State
Declaration
public int State { get; }
 
Property Value
Methods
  
Declaration
public void DoPopup(MaterialEditor editor, Material material)
 
Parameters
ReadState(Material)
Declaration
public void ReadState(Material material)
 
Parameters
SetActive(Boolean, Material)
Declaration
public void SetActive(bool active, Material material)
 
Parameters