From ce9d6e8ad28b2d84d1a292a871c23b66a4654b54 Mon Sep 17 00:00:00 2001
From: David Thompson
Shaders are programs that the GPU can evaluate that allow the programmer to completely customized the final output of a GPU draw @@ -142,10 +142,10 @@ arguments), and some “uniforms” (keyword arguments).
(define my-shader (load-shader "vert.glsl" "frag.glsl")) (define vertices (make-vertex-array …)) -(gpu-apply my-shader vertices #:color red) +(shader-apply my-shader vertices #:color red)
See Rendering Engine for more details about the gpu-apply
+
See Rendering Engine for more details about the shader-apply
procedure.
Shaders are incredibly powerful tools, and there’s more information @@ -201,7 +201,7 @@ compile them into a GPU shader program.
Return the data type of attribute.
Return the current value of uniform.
The shader examples in this manual thus far have only shown uniforms defined using primitive types. However, GLSL shaders support -- cgit v1.2.3