Liking cljdoc? Tell your friends :D
ClojureScript only.

mathbox.primitives.transform.fragment


Fragmentcljs

Apply custom fragment shader pass

:classes [] (string array) - Custom classes, e.g. [\"big\"] :gamma false (boolean) - Pass RGBA values in sRGB instead of linear RGB :id null (nullable string) - Unique ID, e.g. \"sampler\" :pass \"light\" (fragmentPass) - Fragment pass (color, light, rgba) :shader \"<\" (select) - Shader to use

*Apply custom fragment shader pass*

:classes `[]` (string array) - Custom classes, e.g. `[\"big\"]`
:gamma `false` (boolean) - Pass RGBA values in sRGB instead of linear RGB
:id `null` (nullable string) - Unique ID, e.g. `\"sampler\"`
:pass `\"light\"` (fragmentPass) - Fragment pass (color, light, rgba)
:shader `\"<\"` (select) - Shader to use
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close