From 1481f0bc804fa9fa04fc96f1219a8da86b30a1f6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 11 Dec 2018 19:31:30 -0500 Subject: doc: Rename "GPU Buffers" section to "Buffers". --- doc/api.texi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/api.texi b/doc/api.texi index 813c66a..18c13e7 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1290,7 +1290,7 @@ blocks to implement additional rendering techniques. * Framebuffers:: Render to texture. * Viewports:: Restrict rendering to a particular area. * Rendering Engine:: Rendering state management. -* GPU Buffers:: Send data to the GPU. +* Buffers:: Send data to the GPU. * Shaders:: Create custom GPU programs. @end menu @@ -1872,10 +1872,10 @@ Return the list of clear flags for @var{viewport}. Chickadee defines rendering using a metaphor familiar to Scheme programmers: procedure application. A shader (@pxref{Shaders}) is like a procedure for the GPU to apply. Shaders are passed arguments: -A vertex array containing the geometry to render (@pxref{GPU Buffers}) -and zero or more keyword arguments that the shader understands. -Similar to how Scheme has @code{apply} for calling procedures, -Chickadee provides @code{gpu-apply} for calling shaders. +A vertex array containing the geometry to render (@pxref{Buffers}) and +zero or more keyword arguments that the shader understands. Similar +to how Scheme has @code{apply} for calling procedures, Chickadee +provides @code{gpu-apply} for calling shaders. Additionally, there is some dynamic state that effects how @code{gpu-apply} will behave. Things like the current viewport, @@ -1968,8 +1968,8 @@ Evaluate @var{body} with the current projection matrix bound to @var{projection} (@pxref{Matrices}). @end deffn -@node GPU Buffers -@subsection GPU Buffers +@node Buffers +@subsection Buffers Alright, let's brush aside all of those pretty high level abstractions and discuss what is going on under the hood. The GPU exists as a -- cgit v1.2.3