Skip to content

Commit 33212be

Browse files
committed
Add button UI type for reference
1 parent a621b3f commit 33212be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Global variables with the `uniform` qualifier are constant across each iteration
182182

183183
#### Annotations to customize UI appearance:
184184

185-
* ui_type: Can be `input`, `drag`, `slider`, `combo`, `radio` or `color`
185+
* ui_type: Can be `input`, `drag`, `slider`, `combo` (on integer variables), `radio` (on integer variables), `color` (on vector variables) or `button` (on boolean variables)
186186
* ui_min: The smallest value allowed in this variable (required when `ui_type = "drag"` or `ui_type = "slider"`)
187187
* ui_max: The largest value allowed in this variable (required when `ui_type = "drag"` or `ui_type = "slider"`)
188188
* ui_step: The value added/subtracted when clicking the button next to the slider

0 commit comments

Comments
 (0)