(clear-color-and-depth-buffer gl col d)
(clear-color-and-depth-buffer gl r g b a d)
(clear-color-buffer gl col)
(clear-color-buffer gl r g b a)
(common-attrib-buffer-specs {:keys [num-vertices] :as acc}
{:keys [normals fixed-normal uv colors
fixed-color]})
(set-fbo-depth-buffer _ depth-buffer)
(set-fbo-color-texture _ tex)
(set-texture-filter _ min mag)
(set-texture-wrap _ wrap-s wrap-t)
(prepare-render-state gl {:keys [state]})
Takes a GL context and shader spec, sets GL render flags stored under :state key (only if :state is present).
Takes a GL context and shader spec, sets GL render flags stored under :state key (only if :state is present).
(scissor-test gl {[x y] :p [w h] :size})
(scissor-test gl x y w h)
(set-viewport gl {[x y] :p [w h] :size})
(set-viewport gl x y w h)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close