hara.runtime.basic.impl.process-glsl

+glsl-oneshot+

+glsl-oneshot-config+

+glsl-run-config+

+glsl-verify+

+glsl-verify-config+

+program-init+

glsl-sh-exec

added in 4.0

(glsl-sh-exec input-args input-body {:keys [trim stderr raw root extension libs], :as opts, :or {trim clojure.string/trim-newline}})

compile and run helper that puts linker flags after the source file

invoke-ptr-glsl

added in 4.0

(invoke-ptr-glsl {:keys [process lang layout], :as rt, :or {layout :full}} ptr args)

invokes a glsl pointer through the run harness

raw-eval-glsl

added in 4.0

(raw-eval-glsl {:keys [exec process], :as rt} body)

compiles and runs the generated C/EGL harness

rt-glsl:create

added in 4.0

(rt-glsl:create {:keys [id lang runtime exec program process], :as m, :or {runtime :oneshot}})

creates a glsl run runtime

transform-form-run

added in 4.0

(transform-form-run form opts)

generates a C/EGL harness for the emitted GLSL shader

transform-form-verify

added in 4.0

(transform-form-verify form opts)

prepends a #version directive to emitted GLSL source for validation