Kerbal Space Program
1.12.4
|
Representation of a #pragma shader_feature. More...
Public Member Functions | |
void | DoPopup (MaterialEditor editor, Material material) |
void | ReadState (Material material) |
void | SetActive (bool active, Material material) |
Public Attributes | |
GUIContent[] | keywordLabels |
The keyword labels, for display. Include the no-keyword as the first option. More... | |
string[] | keywords |
The shader keywords. Exclude the no-keyword option. More... | |
GUIContent | label |
string | undoLabel |
Properties | |
bool | Active [get] |
int | State [get] |
Representation of a #pragma shader_feature.
It is assumed that the first feature option is for no keyword (underscores).
|
inline |
|
inline |
|
inline |
GUIContent [] TMPro.EditorUtilities.TMP_BaseShaderGUI.ShaderFeature.keywordLabels |
The keyword labels, for display. Include the no-keyword as the first option.
string [] TMPro.EditorUtilities.TMP_BaseShaderGUI.ShaderFeature.keywords |
The shader keywords. Exclude the no-keyword option.
GUIContent TMPro.EditorUtilities.TMP_BaseShaderGUI.ShaderFeature.label |
string TMPro.EditorUtilities.TMP_BaseShaderGUI.ShaderFeature.undoLabel |
|
get |
|
get |