godot icon indicating copy to clipboard operation
godot copied to clipboard

GDShader: Add `hint_flags` for `uniform int`

Open SomeRanDev opened this issue 1 year ago • 0 comments

This adds a new shader uniform hint for int named hint_flags. A port of the @export_flags feature from GDScript.

uniform int outline_features : hint_flags("Anti-alias", "Depth Limit", "Grazing Angle Fix") = 3;

hint_flags

SomeRanDev avatar Aug 21 '24 09:08 SomeRanDev