The clinch Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The clinch Reference Manual

This is the clinch Reference Manual, version 0.5, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:31:47 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Clinch

Overview

Clinch is a simple, yet powerful 3d game engine for Lisp.

Clinch is a usable but still under development. It will become a stable and fast workhorse tool for developing games, visualizations and productivity software. I have plans for a graphical shell which incorporates the strengths of Lisp, 3D, shaders, 2d vector graphics, richtext support, 3d physics and much more.

Features

Clinch Plug-ins:

Design Goals

Fast

Clinch should be as fast or faster than most script-based graphics engines and require less development time. While it may never rival professional libraries and engines, the ability to modify the 3D engine and environment from the REPL allows skilled developers to create applications in a fast, intuitive and flexible way.

Simple

Clinch should be as simple as possible for someone familiar with 3D graphics programming to understand. I still remember how easy it was to write a single pixel to the screen in DOS and while I can't simplify to that degree (without losing modern power and flexibility), I can remove many of the most common difficulties. These include texture and vertex buffers, shader compiling and linking, shader variable passing, drawing text and 2D graphics, 3D transformations, etc.

Intuitive

Time spent looking for solutions is spent time, period. It ruins developer flow and can stop a project (especially a small one) indefinitely. Clinch should have few basic primitives which solve the general cases well and allow for easy replacements when necessary. It should be well documented and have a consistent interface. I will strive to keep abstraction leaks at a minimum.

Clinch does not try to wrap other libraries inside the Clinch namespace. This keeps developers from "relearning" the same functionality.

Flexible

Clinch does not inflict any particular design onto its client applications. It can be easily modified to create a specific engine. It uses plugins to minimize it's own overhead.

Architecture

Although Clinch can be used as a complete engine, most parts of Clinch are independent. You can use objects by themselves as best suits your application. For example, you can use a buffer object by itself. This also helps with testing by isolating the various parts of Clinch. The following is in hierarchical order based on the default configuration. This is to explain it as clearly as possible, not to indicate a necessary design.

Transforms

A transform is a 4x4 matrix which is used to hold and apply a C array of 16 floating values. CL-game-math is used as the default linear algebra library and its arrays may be passed to the shader. There are funcions for creating various projection matrices. Math functions are supplied through the rtg-math package.

Nodes

Nodes are usually the topmost objects in the hierarchy. Nodes abstract 3D transform "chains" and hierarchy. Nodes encapulate transforms and can be scaled, rotated, and translated. They also may have children. Nodes are multiplied together in a hierarchy to create the current transforms which is passes to its children. A node can be used in multiple places within a hierarchy (or tree) or even in several different ones. This is done by passing a list of parents to the update function. It will then append itself and call update on its children. In this way, the transform are only calculated when they or their parent(s) have changed.

Buffers

Buffers abstract the shared data on the graphics card. They can carry almost any data to the graphics card in bulk, including vertexes, normals, and texture coordinates. Buffers are usually sent to a shader through the entity object. A buffer's data can be accessed directly by using the map/unmap or pullg/pushg functions.

Textures

Textures abstract the 2D textures and allow easy access to their raw data. Textures can be loaded from files, drawn on with vector graphics or used as render targets. A texture's data can be accessed directly by using the map/unmap or pullg/pushg functions.

Pixel Buffers

They use Pixel Buffer Object to make texture reading and writing faster. It's a separate buffer object which can send and/or receive data from a texture. It's a separate buffer so it can be used for several similar textures.

Shaders

Shaders are the compiled output from text-based source code. Clinch supports vertex, fragment and geometry shaders.

Shader Programs

Shader programs are complete, usable GPU programs. They take input and output to a texture (by default the screen). Shader-programs require a vertex and fragment shader and may also include a geometry shader. They require a list of uniform and attribute arguments.

Entities

Entities are the rendered meshes. They bring together the shader-program, buffers, textures, attributes, uniforms and transforms together into something which can be rendered on the screen. A shader and an index buffer are required although they would be useless without at least one vertex buffer.

Viewports

An application can have several viewports. As Clinch does not force any particular windowing implementation, it can not have a window class. Once your window is set up, however, you can use the viewport handle for drawing an area on screen.

Frame Buffer objects

Frame buffer objects allows OpenGL to render to a texture or textures instead of a screen. The my also have a depth and/or stencle buffer.

Window

Clinch creates the window for you to make things easier. By default it's launched in a separate thread.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 clinch

Author

Brad Beer (WarWeasle)

License

MIT

Description

An OpenGL Game Engine.

Version

0.5

Dependencies
Source

clinch.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 clinch.asd

Location

clinch.asd

Systems

clinch (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 clinch/package.lisp

Parent

clinch (system)

Location

package.lisp

Packages

clinch


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 clinch/threads.lisp

Dependency

package.lisp (file)

Parent

clinch (system)

Location

threads.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 clinch/clinch.lisp

Dependency

threads.lisp (file)

Parent

clinch (system)

Location

clinch.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 clinch/transform.lisp

Dependency

clinch.lisp (file)

Parent

clinch (system)

Location

transform.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 clinch/node.lisp

Dependency

transform.lisp (file)

Parent

clinch (system)

Location

node.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 clinch/shaders.lisp

Dependency

node.lisp (file)

Parent

clinch (system)

Location

shaders.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 clinch/shader-program.lisp

Dependency

shaders.lisp (file)

Parent

clinch (system)

Location

shader-program.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 clinch/default-shaders.lisp

Dependency

shader-program.lisp (file)

Parent

clinch (system)

Location

default-shaders.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 clinch/buffer.lisp

Dependency

default-shaders.lisp (file)

Parent

clinch (system)

Location

buffer.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 clinch/index-buffer.lisp

Dependency

buffer.lisp (file)

Parent

clinch (system)

Location

index-buffer.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 clinch/pixel-buffer.lisp

Dependency

index-buffer.lisp (file)

Parent

clinch (system)

Location

pixel-buffer.lisp

Internal Definitions

pixel-buffer (class)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 clinch/texture.lisp

Dependency

pixel-buffer.lisp (file)

Parent

clinch (system)

Location

texture.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 clinch/2d-node.lisp

Dependency

texture.lisp (file)

Parent

clinch (system)

Location

2d-node.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.15 clinch/entity.lisp

Dependency

2d-node.lisp (file)

Parent

clinch (system)

Location

entity.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.16 clinch/viewport.lisp

Dependency

entity.lisp (file)

Parent

clinch (system)

Location

viewport.lisp

Exported Definitions
Internal Definitions

with-viewport (macro)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.17 clinch/framebuffer.lisp

Dependency

viewport.lisp (file)

Parent

clinch (system)

Location

framebuffer.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.18 clinch/animation.lisp

Dependency

framebuffer.lisp (file)

Parent

clinch (system)

Location

animation.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.19 clinch/window.lisp

Dependency

animation.lisp (file)

Parent

clinch (system)

Location

window.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.20 clinch/shapes.lisp

Dependency

window.lisp (file)

Parent

clinch (system)

Location

shapes.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 clinch

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Constants

Constant: +pi+

A single-float version of pi.

Package

clinch

Source

transform.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Special variables

Special Variable: *context*

Global Opengl Contex object.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *controllers*

An alist of discovered controllers. Format: (controller-id . sdl-controller-handle)

Package

clinch

Source

window.lisp (file)

Special Variable: *default-on-idle*

The default on-idle handler. Mapped as both a function and a variable.

Package

clinch

Source

window.lisp (file)

Special Variable: *delta-ticks*

Change in time (delta time, dt) since the last on-idle call.

Package

clinch

Source

window.lisp (file)

Special Variable: *entity*

The current entity

Package

clinch

Source

clinch.lisp (file)

Special Variable: *fbo*

Current Frame Buffer Object.

Package

clinch

Source

framebuffer.lisp (file)

Special Variable: *haptic*

An alist of discovered haptic feedback devices. Format: (controller-id . sdl-haptic-device-handle)

Package

clinch

Source

window.lisp (file)

Special Variable: *next*

Runs before the next on-idle call. No arguments.

Package

clinch

Source

window.lisp (file)

Special Variable: *node*

Current default node.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *on-controller-added*

Called when a new controller is discovered. Arguments: (controller-id axis-id value timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-controller-axis-move*

Called when a controller’s axis moves. Arguments (controller-id axis-id position timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-controller-button-down*

Called when a controller’s button is pressed. Arguments: (controller-id axis-id value timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-controller-button-up*

Called when a controller’s button is released. Arguments: (controller-id axis-id value timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-controller-remapped*

Called when a controller is remapped. Arguments: (window data1 data2 timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-controller-removed*

Called when a controller is removed. Arguments: (window data1 data2 timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-idle*

Called when there are no pending events. Take no arguments. Default can be overridden.

Package

clinch

Source

window.lisp (file)

Special Variable: *on-key-down*

Called when a key is pressed. Arguments (win keysym state ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-key-up*

Called when a key is released. Arguments (win keysym state ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-click*

Called when mouse button is released. Arguments: (win mouse x y button state clicks ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-double-click*
Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-down*

Called when mouse button is pressed. Arguments: (win mouse x y button state clicks ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-move*

Called when mouse is moved. Arguments (win mouse state x y xrel yrel ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-up*

Called when mouse button is released. Arguments: (win mouse x y button state clicks ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-mouse-wheel-move*

Called when the mouse wheel is moved. Arguments: (win mouse x y ts)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-quit*

Called when clinch is about to exit. Take no arguments.

Package

clinch

Source

window.lisp (file)

Special Variable: *on-text-editing*

Called when editing text.

Package

clinch

Source

window.lisp (file)

Special Variable: *on-text-input*

Call when text input happens.

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-close*

Called when window is closing. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-enter*

Called when window gains mouse focus. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-exposed*

Called when window is exposed and need redrawn. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-focus-gained*

Called when window gains focus. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-focus-lost*

Called when window loses focus. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-hidden*

Called when window is hidden. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-leave*

Called when window is loses mouse focus. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-maximized*

Called when window is maximized. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-minimized*

Called when window is minimized. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-moved*

Called when the window has been moved. Arguments (window x y timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-resized*

Always called when window size changes. Arguments (window width height timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-restored*

Called when window is restored to normal position and size. Arguments (window timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *on-window-size-changed*

Always called when window size changes. Arguments (window width height timestamp)

Package

clinch

Source

window.lisp (file)

Special Variable: *ortho-projection*

An automatically generated orthogonal projection for the window. Pixel to pixel.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *projection*

Current default projection.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *root*

The default root node.

Package

clinch

Source

node.lisp (file)

Special Variable: *texture*

The current texture. Defaults to the window’s overlay.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *ticks*

Time elapsed since (init) in milliseconds.

Package

clinch

Source

window.lisp (file)

Special Variable: *uncollected*

Weak hash of loaded OpenGL objects.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *viewport*

Current viewport object.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *window*

Global window object.

Package

clinch

Source

clinch.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Macros

Macro: ! &body BODY

Runs body in main thread for safe OpenGL calls. Waits for return value.

Package

clinch

Source

clinch.lisp (file)

Macro: !! &body BODY

Runs body in main thread for safe OpenGL calls. Returns immediately.

Package

clinch

Source

clinch.lisp (file)

Macro: !r THIS W X Y Z &optional IN-PLACE
Package

clinch

Source

node.lisp (file)

Macro: !s THIS X Y Z &optional IN-PLACE
Package

clinch

Source

node.lisp (file)

Macro: !t THIS X Y Z &optional IN-PLACE
Package

clinch

Source

node.lisp (file)

Macro: d->r DEGREES

Converts degrees to radians.

Package

clinch

Source

transform.lisp (file)

Macro: defevent EVENT ARGS &body BODY

Creates and updates an event handler. Use this for all your *on-* events. It’s just a nice wrapper around (setf event (lambda ...

Package

clinch

Source

window.lisp (file)

Macro: degrees->radians DEGREES

Converts degrees to radians.

Package

clinch

Source

transform.lisp (file)

Macro: ensure-float X

Coerce a number to a single-float.

Package

clinch

Source

transform.lisp (file)

Macro: r->d RADIANS

Converts radians to degrees.

Package

clinch

Source

transform.lisp (file)

Macro: radians->degrees RADIANS

Converts radians to degrees.

Package

clinch

Source

transform.lisp (file)

Macro: with-attributes ARGS THIS &body BODY
Package

clinch

Source

entity.lisp (file)

Macro: with-fbo (FBO) &body BODY

Convenience macro for useing and resetting an FBO.

Package

clinch

Source

framebuffer.lisp (file)

Macro: with-mapped-buffer (NAME BUFFER &optional ACCESS) &body BODY

Convenience macro for mapping and unmapping the buffer data. Name is the symbol name to use for the buffer pointer.

Package

clinch

Source

buffer.lisp (file)

Macro: with-new-node (&optional PARENT) &body BODY

A wrapper which creates a new node and set it as current.

Package

clinch

Source

node.lisp (file)

Macro: with-node (NODE) &body BODY

A wrapper which sets and unsets the current *node* object.

Package

clinch

Source

node.lisp (file)

Macro: with-temporary-pbo (VAR TEXTURE &key USAGE TARGET) &body BODY

Creates a temporary pixel buffer for a texture.

Package

clinch

Source

texture.lisp (file)

Macro: with-uniforms ARGS THIS &body BODY
Package

clinch

Source

entity.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Functions

Function: *default-on-idle* ()
Package

clinch

Source

window.lisp (file)

Function: decompose-transform M

Decomposes a matrix into it’s position vector3, rotation quaterion and scaling vector3. Useful for creating/updating the node object.

Package

clinch

Source

clinch.lisp (file)

Function: get-default-texture ()
Package

clinch

Source

shapes.lisp (file)

Function: get-generic-per-vertex-color-shader ()
Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-single-color-shader ()
Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-single-diffuse-light-animation-shader ()
Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-single-diffuse-light-per-vertex-color-shader ()
Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-single-diffuse-light-shader ()
Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-single-texture-shader ()

Creates/returns a shader-program which blits a texture to an entity. Uniforms:
P: projection matrix
M: model-view matrix
t1: texture
Attributes:
v: Vertexes
tc1: texture coordinates

Package

clinch

Source

default-shaders.lisp (file)

Function: get-generic-solid-phong-shader ()

Creates/returns a shader-program which uses simple phong shading with a single color. Uniforms:
P: projection matrix
M: model-view matrix
ambientLight: Ambient Light Color
lightDirection: Direction of light
lightIntensity: Color of light
color: color of object
Attributes:
v: Vertexes

Package

clinch

Source

default-shaders.lisp (file)

Function: get-identity-texture ()

Creates/returns a 1x1 texture with the values (1.0, 1.0, 1.0, 1.0). This is a nice placeholder when you don’t want a custom shader.

Package

clinch

Source

texture.lisp (file)

Function: get-screen-direction LENS-1

Gets the direction from the middle of the screen.

Package

clinch

Source

transform.lisp (file)

Function: init &key ASYNCHRONOUS INIT-CONTROLLERS WIDTH HEIGHT TITLE FULLSCREEN NO-FRAME CONTEXT-PROFILE-MASK ALPHA-SIZE DEPTH-SIZE STENCIL-SIZE RED-SIZE GREEN-SIZE BLUE-SIZE BUFFER-SIZE DOUBLE-BUFFER HIDDEN RESIZABLE

Creates Clinch’s window in it’s own thread.
Use ! (wait and return a value from main thread) or Use !! (return immediately with a nil.

Package

clinch

Source

window.lisp (file)

Function: make-frustum-transform LEFT RIGHT BOTTOM TOP NEAR FAR

Create a raw CFFI frustum matrix.

Package

clinch

Source

transform.lisp (file)

Function: make-orthogonal-transform WIDTH HEIGHT NEAR FAR

Create a raw CFFI orthogonal matrix.

Package

clinch

Source

transform.lisp (file)

Function: make-perspective-transform FOVY ASPECT ZNEAR ZFAR

Create a raw CFFI perspective matrix.

Package

clinch

Source

transform.lisp (file)

Function: make-quad WIDTH HEIGHT &key CENTER SHADER-PROGRAM TEXTURE PARENT

Creates a quad entity of width and height.

Package

clinch

Source

shapes.lisp (file)

Function: ray-triangle-intersect? ORIGIN RAY-DIR V0 V1 V2

Given an origin, direction and a triangle returns if and where they intersect. Presently does not cull backfacing triangles.

Package

clinch

Source

clinch.lisp (file)

Function: topological-sort GRAPH &key TEST

Graph is an association list whose keys are objects and whose values are lists of objects on which the corresponding key depends. Test is used to compare elements, and should be a suitable test for hash-tables. Topological-sort returns two values. The first is a list of objects sorted toplogically. The second is a boolean indicating whether all of the objects in the input graph are present in the topological ordering (i.e., the first value).

Package

clinch

Source

clinch.lisp (file)

Function: transform-point P M
Package

clinch

Source

transform.lisp (file)

Function: transform-points POINTS MATRIX
Package

clinch

Source

transform.lisp (file)

Function: uninit ()
Package

clinch

Source

window.lisp (file)

Function: unload-all-uncollected ()

Unloads all loaded OpenGL objects.

Package

clinch

Source

clinch.lisp (file)

Function: unproject X Y WIDTH HEIGHT INV-TRANSFORM

Unproject from the screen to transform space.

Package

clinch

Source

transform.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Generic functions

Generic Function: !0 THIS

Resets a node to default. Position 0, rotation 0 and scale of 1. Shortcut is !0.

Package

clinch

Source

node.lisp (file)

Methods
Method: !0 (THIS node)

Resets the node.

Generic Function: !< THIS DATA &key
Package

clinch

Source

buffer.lisp (file)

Methods
Method: !< (TEX texture) (DATA array) &key

Sets the texture data from a vector array.

Source

texture.lisp (file)

Method: !< (THIS texture) (PBO pixel-buffer) &key

Sets the texture data from a pixel buffer.

Source

texture.lisp (file)

Method: !< (THIS buffer) (DATA array) &key

Sets the buffer data from a vector array.

Generic Function: !> THIS &key DATA-FORMAT INDEX OFFSET SIZE
Package

clinch

Source

buffer.lisp (file)

Writer

(setf !>) (generic function)

Methods
Method: !> (TEX texture) &key DATA-FORMAT

Gets the texture data as a vector array.

Source

texture.lisp (file)

Method: !> (THIS buffer) &key INDEX OFFSET SIZE

Returns the buffer’s data as a vector array.

Method: !> (THIS shader-program) &key

Returns shader-program’s available information such as shader source, uniforms and attributes.

Source

shader-program.lisp (file)

Generic Function: (setf !>) DATA THIS
Package

clinch

Reader

!> (generic function)

Methods
Method: (setf !>) (DATA array) (THIS buffer)
Source

buffer.lisp (file)

Generic Function: !r0 THIS

Resets a node’s rotation to 1,0,0,0. Shortcut is !r0

Package

clinch

Source

node.lisp (file)

Methods
Method: !r0 (THIS node)
Generic Function: !s0 THIS

Resets a node’s scaling to 1,1,1. Shortcut is !s0

Package

clinch

Source

node.lisp (file)

Methods
Method: !s0 (THIS node)
Generic Function: !t0 THIS

Resets a node’s translation to 0,0,0. Shortcut is !t0

Package

clinch

Source

node.lisp (file)

Methods
Method: !t0 (THIS node)
Generic Function: add-child THIS CHILD &key
Package

clinch

Methods
Method: add-child (THIS node) CHILD &key

Add a child. Children must implement update and render.

Source

node.lisp (file)

Generic Function: animation OBJECT
Generic Function: (setf animation) NEW-VALUE OBJECT
Package

clinch

Methods
Method: animation (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf animation) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: attach-uniform THIS UNIFORM VALUE
Package

clinch

Methods
Method: attach-uniform (THIS shader-program) (UNIFORM string) (MATRIX node)

Shaders pass information by using named values called Uniforms and Attributes. This sets a uniform to the matrix of a node.

Source

shader-program.lisp (file)

Method: attach-uniform (THIS shader-program) (UNIFORM string) (MATRIX array)

Shaders pass information by using named values called Uniforms and Attributes. This sets a uniform to a matrix value.

Source

shader-program.lisp (file)

Method: attach-uniform (THIS shader-program) (UNIFORM string) VALUE

Shaders pass information by using named values called Uniforms and Attributes. This sets a uniform to value.

Source

shader-program.lisp (file)

Generic Function: attribute THIS NAME
Generic Function: (setf attribute) NEW-VALUE THIS NAME
Package

clinch

Methods
Method: attribute (THIS entity) NAME

Returns an attribute by name. Should work with numbers and strings.

Source

entity.lisp (file)

Method: (setf attribute) NEW-VALUE (THIS entity) NAME

Sets an attribute’s value. If the name doesn’t exist, it’s added. If the new value is nil, the entry is deleted.

Source

entity.lisp (file)

Generic Function: attributes OBJECT
Package

clinch

Methods
Method: attributes (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Generic Function: bind THIS &key INDEX OFFSET LENGTH
Package

clinch

Methods
Method: bind (THIS null) &key

Binds the frame buffer for use.

Source

framebuffer.lisp (file)

Method: bind (THIS frame-buffer) &key

Wrapper around glBindFrameBuffer. Puts the Framebuffer into play.

Source

framebuffer.lisp (file)

Method: bind (THIS texture) &key

Wrapper around glBindBuffer. Puts the texture into play.

Source

texture.lisp (file)

Method: bind (THIS buffer) &key INDEX OFFSET LENGTH

Wrapper around glBindBuffer. Binds this buffer for use.

Source

buffer.lisp (file)

Generic Function: bind-buffer-to-attribute-array THIS SHADER NAME &key INDEX OFFSET LENGTH
Package

clinch

Methods
Method: bind-buffer-to-attribute-array (THIS buffer) (SHADER shader-program) NAME &key INDEX OFFSET LENGTH

Bind buffer to a shader attribute.

Source

buffer.lisp (file)

Generic Function: bind-buffer-to-vertex-array THIS &key INDEX OFFSET LENGTH
Package

clinch

Methods
Method: bind-buffer-to-vertex-array (THIS buffer) &key INDEX OFFSET LENGTH

Use buffer in shader for the vertex array: The built-in variable gl_Vertex.

Source

buffer.lisp (file)

Generic Function: bind-sampler THIS SHADER-PROGRAM NAME TEX-UNIT
Package

clinch

Methods
Method: bind-sampler (THIS texture) SHADER-PROGRAM NAME TEX-UNIT

Shader-Programs pass information by using named values called Uniforms. Textures are passed using Samplers. This sets a texture-unit to a sampler uniform

Source

texture.lisp (file)

Generic Function: bind-static-values-to-attribute THIS NAME VALS
Package

clinch

Methods
Method: bind-static-values-to-attribute (THIS shader-program) NAME VALS

It is possible to bind static information to an attribute. That’s what this does.

Source

shader-program.lisp (file)

Generic Function: changed? THIS
Generic Function: (setf changed?) VAL THIS
Package

clinch

Methods
Method: changed? (THIS node)

Has this node changed and not updated?

Source

node.lisp (file)

Method: (setf changed?) VAL (THIS node)

Set this node to update later.

Source

node.lisp (file)

Generic Function: children OBJECT
Generic Function: (setf children) NEW-VALUE OBJECT
Package

clinch

Methods
Method: children (NODE node)

automatically generated reader method

Source

node.lisp (file)

Method: (setf children) NEW-VALUE (NODE node)

automatically generated writer method

Source

node.lisp (file)

Generic Function: clear-color OBJECT
Generic Function: (setf clear-color) NEW-VALUE OBJECT
Package

clinch

Methods
Method: clear-color (VIEWPORT viewport)

automatically generated reader method

Source

viewport.lisp (file)

Method: (setf clear-color) NEW-VALUE (VIEWPORT viewport)

automatically generated writer method

Source

viewport.lisp (file)

Generic Function: color-attachment THIS NAME
Generic Function: (setf color-attachment) NEW-VALUE THIS NAME
Package

clinch

Methods
Method: color-attachment (THIS frame-buffer) NAME

Returns a color-attachment by number.

Source

framebuffer.lisp (file)

Method: (setf color-attachment) NEW-VALUE (THIS frame-buffer) NAME

Sets an attachment’s number

Source

framebuffer.lisp (file)

Generic Function: data-format OBJECT
Generic Function: (setf data-format) NEW-VALUE OBJECT
Package

clinch

Methods
Method: data-format (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: (setf data-format) NEW-VALUE (TEXTURE texture)

automatically generated writer method

Source

texture.lisp (file)

Generic Function: data-from-pointer THIS POINTER
Package

clinch

Methods
Method: data-from-pointer (THIS texture) POINTER
Source

texture.lisp (file)

Method: data-from-pointer (THIS buffer) POINTER
Source

buffer.lisp (file)

Generic Function: depth-buffer OBJECT
Generic Function: (setf depth-buffer) DB THIS
Package

clinch

Methods
Method: depth-buffer (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Method: (setf depth-buffer) (DB texture) (THIS frame-buffer)

Binds the depth buffer for use.

Source

framebuffer.lisp (file)

Generic Function: draw-with-index-buffer THIS &key MODE
Package

clinch

Methods
Method: draw-with-index-buffer (THIS index-buffer) &key MODE

Use this buffer as an index array and draw somthing.

Source

index-buffer.lisp (file)

Generic Function: draw-with-ranged-index-buffer THIS &key START END MODE
Package

clinch

Methods
Method: draw-with-ranged-index-buffer (THIS index-buffer) &key START END MODE

Use this buffer as an index array and draw somthing within start and end bounds.

Source

index-buffer.lisp (file)

Generic Function: enabled OBJECT
Generic Function: (setf enabled) NEW-VALUE OBJECT
Package

clinch

Methods
Method: enabled (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Method: (setf enabled) NEW-VALUE (ENTITY entity)

automatically generated writer method

Source

entity.lisp (file)

Method: enabled (NODE node)

automatically generated reader method

Source

node.lisp (file)

Method: (setf enabled) NEW-VALUE (NODE node)

automatically generated writer method

Source

node.lisp (file)

Generic Function: frames OBJECT
Generic Function: (setf frames) NEW-VALUE OBJECT
Package

clinch

Methods
Method: frames (ANIMATION animation)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf frames) NEW-VALUE (ANIMATION animation)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: get-animation-time THIS
Package

clinch

Methods
Method: get-animation-time (THIS animator)
Source

animation.lisp (file)

Method: get-animation-time (THIS animation)
Source

animation.lisp (file)

Method: get-animation-time (THIS vector)
Source

animation.lisp (file)

Method: get-animation-time (THIS list)
Source

animation.lisp (file)

Method: get-animation-time THIS
Source

animation.lisp (file)

Generic Function: get-attribute-id THIS ID
Package

clinch

Methods
Method: get-attribute-id (THIS shader-program) (ATTRIBUTE string)

Shaders pass information by using named values called Uniforms and Attributes. This gets the gl id of a attribute name.

Source

shader-program.lisp (file)

Method: get-attribute-id (THIS shader-program) (ID integer)

Shaders pass information by using named values called Uniforms and Attributes. If we are using the raw id, this returns it.

Source

shader-program.lisp (file)

Generic Function: get-keyframe THIS TIME &key
Package

clinch

Methods
Method: get-keyframe (THIS animator) TIME &key
Source

animation.lisp (file)

Method: get-keyframe (THIS animation) (TIME number) &key
Source

animation.lisp (file)

Method: get-keyframe (THIS vector) (TIME number) &key
Source

animation.lisp (file)

Method: get-keyframe (THIS list) (TIME number) &key
Source

animation.lisp (file)

Method: get-keyframe THIS TIME &key
Source

animation.lisp (file)

Generic Function: get-size THIS &key
Package

clinch

Methods
Method: get-size (THIS texture) &key

Calculates the number of VALUES (stride * vcount) or (stride * width * height) this buffer contains.

Source

texture.lisp (file)

Method: get-size (THIS buffer) &key

Calculates the number of VALUES (stride + vcount) this buffer contains.

Source

buffer.lisp (file)

Generic Function: get-uniform-id THIS ID
Package

clinch

Methods
Method: get-uniform-id (THIS shader-program) (UNIFORM string)

Shaders pass information by using named values called Uniforms and Attributes. This gets the gl id of a uniform name.

Source

shader-program.lisp (file)

Method: get-uniform-id (THIS shader-program) (ID integer)

Shaders pass information by using named values called Uniforms and Attributes. If we are using the raw id, this returns it.

Source

shader-program.lisp (file)

Generic Function: height OBJECT
Generic Function: (setf height) NEW-VALUE OBJECT
Package

clinch

Methods
Method: height (THIS viewport)

Get the viewport height.

Source

viewport.lisp (file)

Method: (setf height) NEW-VAL (THIS viewport)

Set the viewport height.

Source

viewport.lisp (file)

Method: height (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Generic Function: id OBJECT
Package

clinch

Methods
Method: id (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Method: id (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: id (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Method: id (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Generic Function: indexes OBJECT
Generic Function: (setf indexes) NEW-VALUE THIS
Package

clinch

Methods
Method: indexes (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Method: (setf indexes) NEW-VALUE (THIS entity)

Sets the index array.

Source

entity.lisp (file)

Generic Function: make-color-texture THIS INDEX WIDTH HEIGHT &key PBO STRIDE QTYPE INTERNAL-FORMAT FORMAT WRAP-S WRAP-T MAG-FILTER MIN-FILTER TEXTURE-COMPARE-MODE TEXTURE-COMPARE-FUNCTION
Package

clinch

Methods
Method: make-color-texture (THIS frame-buffer) INDEX WIDTH HEIGHT &key PBO STRIDE QTYPE INTERNAL-FORMAT FORMAT WRAP-S WRAP-T MAG-FILTER MIN-FILTER TEXTURE-COMPARE-MODE TEXTURE-COMPARE-FUNCTION

Creates and adds a color buffer for the frame buffer.

Source

framebuffer.lisp (file)

Generic Function: make-depth-texture THIS WIDTH HEIGHT &key INTERNAL-FORMAT FORMAT QTYPE STRIDE DEPTH-TEXTURE-MODE TEXTURE-COMPARE-MODE TEXTURE-COMPARE-FUNCTION
Package

clinch

Methods
Method: make-depth-texture (THIS frame-buffer) WIDTH HEIGHT &key INTERNAL-FORMAT FORMAT QTYPE STRIDE DEPTH-TEXTURE-MODE TEXTURE-COMPARE-MODE TEXTURE-COMPARE-FUNCTION

Creates a depth texture for a framebuffer.

Source

framebuffer.lisp (file)

Generic Function: make-pbo-for-texture THIS &key USAGE TARGET
Package

clinch

Methods
Method: make-pbo-for-texture (THIS texture) &key USAGE TARGET

Returns a compatible pixel buffer for a texture.

Source

texture.lisp (file)

Generic Function: make-quad-and-texture WIDTH HEIGHT &key CENTER SHADER-PROGRAM PARENT NO-PARENT
Package

clinch

Methods
Method: make-quad-and-texture WIDTH HEIGHT &key CENTER SHADER-PROGRAM PARENT NO-PARENT
Source

shapes.lisp (file)

Generic Function: make-quad-for-texture THIS &key WIDTH HEIGHT CENTER SHADER-PROGRAM PARENT NO-PARENT
Package

clinch

Methods
Method: make-quad-for-texture (THIS texture) &key WIDTH HEIGHT CENTER SHADER-PROGRAM PARENT NO-PARENT

Creates a quad for a texture which defaults to texture’s width and height.

Source

shapes.lisp (file)

Generic Function: map-buffer THIS &optional ACCESS
Package

clinch

Methods
Method: map-buffer (THIS buffer) &optional ACCESS

Returns a pointer to the buffer data. YOU MUST CALL UNMAP-BUFFER AFTER YOU ARE DONE!
Access options are: :Read-Only, :Write-Only, and :READ-WRITE. NOTE: Using :read-write is slower than the others. If you can, use them instead.

Source

buffer.lisp (file)

Generic Function: n* THIS THAT &key NEW-NODE

Multiplies nodes and matrix transforms.

Package

clinch

Source

node.lisp (file)

Methods
Method: n* (THIS vector) (THAT vector) &key NEW-NODE

Multiplies a node? I’m not sure if this works.

Method: n* (THIS node) (THAT vector) &key NEW-NODE

Multiplies a node? I’m not sure if this works.

Method: n* (THIS vector) (THAT node) &key NEW-NODE

Multiplies a node? I’m not sure if this works.

Method: n* (THIS node) (THAT node) &key NEW-NODE

Multiplies a node? I’m not sure if this works.

Generic Function: name OBJECT
Generic Function: (setf name) NEW-VALUE OBJECT
Package

clinch

Methods
Method: name (ANIMATION animation)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf name) NEW-VALUE (ANIMATION animation)

automatically generated writer method

Source

animation.lisp (file)

Method: name (SHADER-PROGRAM shader-program)

automatically generated reader method

Source

shader-program.lisp (file)

Method: name (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Method: name (NODE node)

automatically generated reader method

Source

node.lisp (file)

Method: (setf name) NEW-VALUE (NODE node)

automatically generated writer method

Source

node.lisp (file)

Generic Function: pause THIS &key
Package

clinch

Source

animation.lisp (file)

Methods
Method: pause (THIS animator) &key
Generic Function: paused OBJECT
Generic Function: (setf paused) NEW-VALUE OBJECT
Package

clinch

Methods
Method: paused (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf paused) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: play THIS &key
Package

clinch

Source

animation.lisp (file)

Methods
Method: play (THIS animator) &key
Generic Function: program OBJECT
Package

clinch

Methods
Method: program (SHADER-PROGRAM shader-program)

automatically generated reader method

Source

shader-program.lisp (file)

Generic Function: pullg THIS &key DATA-FORMAT INDEX OFFSET SIZE
Package

clinch

Source

buffer.lisp (file)

Methods
Method: pullg (TEX texture) &key DATA-FORMAT

Gets the texture data as a vector array.

Source

texture.lisp (file)

Method: pullg (THIS buffer) &key INDEX OFFSET SIZE

Returns the buffer’s data as a vector array.

Method: pullg (THIS shader-program) &key

Returns shader-program’s available information such as shader source, uniforms and attributes.

Source

shader-program.lisp (file)

Generic Function: pushg THIS DATA &key
Package

clinch

Source

buffer.lisp (file)

Methods
Method: pushg (TEX texture) (DATA array) &key

Sets the texture data from a vector array.

Source

texture.lisp (file)

Method: pushg (THIS texture) (PBO pixel-buffer) &key

Sets the texture data from a pixel buffer.

Source

texture.lisp (file)

Method: pushg (THIS buffer) (DATA array) &key

Sets the buffer data from a vector array.

Generic Function: qtype OBJECT
Generic Function: (setf qtype) NEW-VALUE OBJECT
Package

clinch

Methods
Method: qtype (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: (setf qtype) NEW-VALUE (TEXTURE texture)

automatically generated writer method

Source

texture.lisp (file)

Method: qtype (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: (setf qtype) NEW-VALUE (INDEX-BUFFER index-buffer)

automatically generated writer method

Source

index-buffer.lisp (file)

Method: qtype (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Method: (setf qtype) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

buffer.lisp (file)

Generic Function: quick-set THIS X Y W H
Package

clinch

Methods
Method: quick-set (THIS viewport) X Y W H

A quick method to set all the values in the viewport.

Source

viewport.lisp (file)

Generic Function: ray-entity-intersect? THIS TRANSFORM START END &optional PRIMITIVE
Package

clinch

Methods
Method: ray-entity-intersect? (THIS entity) TRANSFORM START END &optional PRIMITIVE
Source

entity.lisp (file)

Generic Function: remove-child THIS CHILD &key
Package

clinch

Methods
Method: remove-child (THIS node) CHILD &key

Removes a child. Does not unref removed children.

Source

node.lisp (file)

Generic Function: render THIS &key TIME PROJECTION PARENT
Package

clinch

Methods
Method: render (THIS animator) &key TIME
Source

animation.lisp (file)

Method: render (THIS viewport) &key PROJECTION

Makes this viewport active.

Source

viewport.lisp (file)

Method: render (THIS entity) &key PARENT PROJECTION

Renders the entity (mesh).
:parent Sets the parent for the :model

Source

entity.lisp (file)

Method: render (THIS list) &key PARENT PROJECTION

Render a list of rendables.

Source

node.lisp (file)

Method: render (THIS node) &key PARENT PROJECTION

Render child objects. You don’t need to build your application with nodes/render. This is just here to help.

Source

node.lisp (file)

Generic Function: repeat OBJECT
Generic Function: (setf repeat) NEW-VALUE OBJECT
Package

clinch

Methods
Method: repeat (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf repeat) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Method: repeat (ANIMATION animation)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf repeat) NEW-VALUE (ANIMATION animation)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: resize THIS X Y W H
Package

clinch

Methods
Method: resize (THIS viewport) X Y W H

Resize the viewport.

Source

viewport.lisp (file)

Generic Function: rotate THIS ROT &key MODIFY

Rotate node. Shortcut is !r.

Package

clinch

Source

node.lisp (file)

Methods
Method: rotate (THIS node) ROT &key MODIFY

Rotate the node. Takes a quaterion.

Generic Function: rotation OBJECT
Package

clinch

Writer

(setf rotation) (generic function)

Methods
Method: rotation (NODE node)

automatically generated reader method

Source

node.lisp (file)

Generic Function: (setf rotation) VAL THIS
Package

clinch

Source

node.lisp (file)

Reader

rotation (generic function)

Methods
Method: (setf rotation) ROT (THIS node)

Sets the rotation quaterion.

Generic Function: run-length OBJECT
Generic Function: (setf run-length) NEW-VALUE OBJECT
Package

clinch

Methods
Method: run-length (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf run-length) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Method: run-length (ANIMATION animation)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf run-length) NEW-VALUE (ANIMATION animation)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: run-speed OBJECT
Generic Function: (setf run-speed) NEW-VALUE OBJECT
Package

clinch

Methods
Method: run-speed (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf run-speed) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: scale THIS SCALE &key MODIFY

Scale node. Shortcut is !s.

Package

clinch

Source

node.lisp (file)

Methods
Method: scale (THIS node) SIZE &key MODIFY

Scales a node. Takes a vector3.

Generic Function: scaling OBJECT
Package

clinch

Writer

(setf scaling) (generic function)

Methods
Method: scaling (NODE node)

automatically generated reader method

Source

node.lisp (file)

Generic Function: (setf scaling) VAL THIS
Package

clinch

Source

node.lisp (file)

Reader

scaling (generic function)

Methods
Method: (setf scaling) SCALE (THIS node)

Sets the scaling vector.

Generic Function: set-texture-color THIS R G B &optional A
Package

clinch

Methods
Method: set-texture-color (THIS texture) R G B &optional A
Source

texture.lisp (file)

Generic Function: shader-compile THIS &key CODE DEFS UNDEFS
Package

clinch

Methods
Method: shader-compile (THIS shader) &key CODE DEFS UNDEFS
Source

shaders.lisp (file)

Generic Function: shader-program OBJECT
Generic Function: (setf shader-program) NEW-VALUE THIS
Package

clinch

Methods
Method: shader-program (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Method: (setf shader-program) NEW-VALUE (THIS entity)

Sets the shader-program to use.

Source

entity.lisp (file)

Generic Function: shader-source THIS
Generic Function: (setf shader-source) CODE THIS
Package

clinch

Methods
Method: shader-source (THIS shader)
Source

shaders.lisp (file)

Generic Function: size-in-bytes THIS
Package

clinch

Methods
Method: size-in-bytes (THIS texture)

Calculates how many bytes this buffer consists of.

Source

texture.lisp (file)

Method: size-in-bytes (THIS buffer)

Calculates how many bytes this buffer consists of.

Source

buffer.lisp (file)

Generic Function: skip THIS POSITION &key
Package

clinch

Source

animation.lisp (file)

Methods
Method: skip (THIS animator) POSITION &key
Generic Function: stop THIS &key
Package

clinch

Source

animation.lisp (file)

Methods
Method: stop (THIS animator) &key
Generic Function: stride OBJECT
Package

clinch

Methods
Method: stride (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: stride (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: stride (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Generic Function: target OBJECT
Generic Function: (setf target) NEW-VALUE OBJECT
Package

clinch

Methods
Method: target (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Method: (setf target) NEW-VALUE (FRAME-BUFFER frame-buffer)

automatically generated writer method

Source

framebuffer.lisp (file)

Method: target (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: target (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Generic Function: tex-id OBJECT
Generic Function: (setf tex-id) NEW-VALUE OBJECT
Package

clinch

Methods
Method: tex-id (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: (setf tex-id) NEW-VALUE (TEXTURE texture)

automatically generated writer method

Source

texture.lisp (file)

Generic Function: transform THIS &key

get the entire transform.

Package

clinch

Source

node.lisp (file)

Writer

(setf transform) (generic function)

Methods
Method: transform (THIS node) &key

Gets the transform matrix.

Generic Function: (setf transform) TRANSFORM THIS
Package

clinch

Reader

transform (generic function)

Methods
Method: (setf transform) TRANSFORM (THIS node)
Source

node.lisp (file)

Generic Function: translate THIS TRANS &key MODIFY

Translate node. Shortcut is !t.

Package

clinch

Source

node.lisp (file)

Methods
Method: translate (THIS node) TRANS &key MODIFY

Translate the node. Takes a vector3.

Generic Function: translation OBJECT
Package

clinch

Writer

(setf translation) (generic function)

Methods
Method: translation (NODE node)

automatically generated reader method

Source

node.lisp (file)

Generic Function: (setf translation) VAL THIS
Package

clinch

Source

node.lisp (file)

Reader

translation (generic function)

Methods
Method: (setf translation) TRANS (THIS node)

Sets the translation vector.

Generic Function: traverse-node THIS
Package

clinch

Methods
Method: traverse-node (THIS node)

Not yet implemented.

Source

node.lisp (file)

Generic Function: unbind THIS &key
Package

clinch

Methods
Method: unbind (THIS frame-buffer) &key

Wrapper around glBindFrameBuffer. Puts the Framebuffer into play.

Source

framebuffer.lisp (file)

Method: unbind (THIS texture) &key

Unbinds the texture.

Source

texture.lisp (file)

Method: unbind (THIS buffer) &key

Wrapper around glBindBuffer with buffer 0, or no buffer.

Source

buffer.lisp (file)

Generic Function: uniform THIS NAME
Generic Function: (setf uniform) NEW-VALUE THIS NAME
Package

clinch

Methods
Method: uniform (THIS entity) NAME

Returns a uniform by name. Should work with numbers and strings.

Source

entity.lisp (file)

Method: (setf uniform) NEW-VALUE (THIS entity) NAME

Sets a uniform’s value. If the name doesn’t exist, it’s added. If the new value is nil, the entry is deleted.

Source

entity.lisp (file)

Generic Function: uniforms OBJECT
Package

clinch

Methods
Method: uniforms (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Generic Function: unload THIS &key ALL

Unloads an opengl object. Does nothing for non-opengl objects.

Package

clinch

Source

clinch.lisp (file)

Methods
Method: unload (THIS frame-buffer) &key

Unloads and releases all frame-buffer resources, also any renderbuffers

Source

framebuffer.lisp (file)

Method: unload (THIS entity) &key ALL

Release entity resources. If :all t, then the index buffer and all uniforms and attributes are unloaded.

Source

entity.lisp (file)

Method: unload (THIS texture) &key

Unloads the texture. Also cancels gc finalization.

Source

texture.lisp (file)

Method: unload (THIS buffer) &key

Release buffer resources.

Source

buffer.lisp (file)

Method: unload (THIS shader-program) &key

Unloads and releases all shader-program resources.

Source

shader-program.lisp (file)

Method: unload (THIS shader) &key

Unloads and releases the shader.

Source

shaders.lisp (file)

Method: unload THIS &key
Generic Function: unmap-buffer THIS
Package

clinch

Methods
Method: unmap-buffer (THIS buffer)

Release the pointer given by map-buffer. NOTE: THIS TAKES THE BUFFER OBJECT, NOT THE POINTER! ALSO, DON’T TRY TO RELASE THE POINTER.

Source

buffer.lisp (file)

Generic Function: update THIS &key TIME PARENT MATRIX FORCE PROJECTION
Package

clinch

Methods
Method: update (THIS animator) &key TIME
Source

animation.lisp (file)

Method: update (THIS entity) &key PARENT MATRIX FORCE
Source

entity.lisp (file)

Method: update (THIS node) &key PARENT PROJECTION

Render child objects. You don’t need to build your application with nodes/render. This is just here to help.

Source

node.lisp (file)

Generic Function: usage OBJECT
Generic Function: (setf usage) NEW-VALUE OBJECT
Package

clinch

Methods
Method: usage (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: (setf usage) NEW-VALUE (INDEX-BUFFER index-buffer)

automatically generated writer method

Source

index-buffer.lisp (file)

Method: usage (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Method: (setf usage) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

buffer.lisp (file)

Generic Function: use-shader-program THIS &key
Package

clinch

Methods
Method: use-shader-program (THIS shader-program) &key

Start using the shader-program.

Source

shader-program.lisp (file)

Generic Function: vertex-count OBJECT
Package

clinch

Methods
Method: vertex-count (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: vertex-count (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Generic Function: walk-node-tree THIS F &key TEST NON-NODE
Package

clinch

Methods
Method: walk-node-tree (THIS node) F &key TEST NON-NODE

Render child objects. You don’t need to build your application with nodes/render. This is just here to help.

Source

node.lisp (file)

Method: walk-node-tree THIS F &key TEST NON-NODE
Source

node.lisp (file)

Generic Function: width OBJECT
Generic Function: (setf width) NEW-VALUE OBJECT
Package

clinch

Methods
Method: width (THIS viewport)

Get viewport width.

Source

viewport.lisp (file)

Method: (setf width) NEW-VAL (THIS viewport)

Set viewport width.

Source

viewport.lisp (file)

Method: width (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Generic Function: x OBJECT
Generic Function: (setf x) NEW-VALUE OBJECT
Package

clinch

Methods
Method: x (VIEWPORT viewport)

automatically generated reader method

Source

viewport.lisp (file)

Method: (setf x) NEW-VALUE (VIEWPORT viewport)

automatically generated writer method

Source

viewport.lisp (file)

Generic Function: y OBJECT
Generic Function: (setf y) NEW-VALUE OBJECT
Package

clinch

Methods
Method: y (VIEWPORT viewport)

automatically generated reader method

Source

viewport.lisp (file)

Method: (setf y) NEW-VALUE (VIEWPORT viewport)

automatically generated writer method

Source

viewport.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Classes

Class: animation ()
Package

clinch

Source

animation.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: frames
Initargs

:frames

Readers

frames (generic function)

Writers

(setf frames) (generic function)

Slot: repeat
Initargs

:repeat

Initform

t

Readers

repeat (generic function)

Writers

(setf repeat) (generic function)

Slot: run-length
Initargs

:run-length

Readers

run-length (generic function)

Writers

(setf run-length) (generic function)

Class: animator ()
Package

clinch

Source

animation.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: animation
Initargs

:animation

Readers

animation (generic function)

Writers

(setf animation) (generic function)

Slot: current-time
Initargs

:start

Initform

0

Readers

current-time (generic function)

Writers

(setf current-time) (generic function)

Slot: paused
Initargs

:paused

Initform

t

Readers

paused (generic function)

Writers

(setf paused) (generic function)

Slot: repeat
Initargs

:repeat

Initform

t

Readers

repeat (generic function)

Writers

(setf repeat) (generic function)

Slot: run-speed
Initargs

:run-speed

Initform

1

Readers

run-speed (generic function)

Writers

(setf run-speed) (generic function)

Slot: run-length
Initargs

:run-length

Readers

run-length (generic function)

Writers

(setf run-length) (generic function)

Slot: last-update-time
Class: buffer ()

Creates and keeps track of GPU buffer object (shared memory with gpu).

Package

clinch

Source

buffer.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id (generic function)

Slot: type
Initargs

:qtype

Initform

:float

Readers

qtype (generic function)

Writers

(setf qtype) (generic function)

Slot: usage
Initargs

:usage

Initform

:static-draw

Readers

usage (generic function)

Writers

(setf usage) (generic function)

Slot: stride
Initargs

:stride

Initform

3

Readers

stride (generic function)

Slot: vertex-count
Initargs

:count

Readers

vertex-count (generic function)

Slot: target
Initargs

:target

Initform

:array-buffer

Readers

target (generic function)

Slot: loaded
Readers

loaded? (generic function)

Writers

(setf loaded?) (generic function)

Slot: key
Initform

(gensym "buffer")

Readers

key (generic function)

Class: entity ()

Renders a mesh with a shader-program with attributes and uniforms.

Package

clinch

Source

entity.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: shader-program
Initargs

:shader-program

Readers

shader-program (generic function)

Slot: indexes
Initargs

:indexes

Readers

indexes (generic function)

Slot: mode
Initargs

:mode

Initform

:triangles

Readers

mode (generic function)

Slot: uniforms
Initargs

:uniforms

Readers

uniforms (generic function)

Slot: attributes
Initargs

:attributes

Readers

attributes (generic function)

Slot: bones
Initargs

:bones

Readers

bones (generic function)

Writers

(setf bones) (generic function)

Slot: enabled
Initargs

:enabled

Initform

t

Readers

enabled (generic function)

Writers

(setf enabled) (generic function)

Class: frame-buffer ()

The Frame Buffer Object or FBO. Use this to render to textures.

Package

clinch

Source

framebuffer.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id (generic function)

Slot: target
Initargs

:target

Initform

:draw-framebuffer

Readers

target (generic function)

Writers

(setf target) (generic function)

Slot: color
Readers

color-attachments (generic function)

Slot: depth
Initargs

:depth-buffer

Readers

depth-buffer (generic function)

Slot: stencil
Readers

stencil-attachments (generic function)

Slot: key
Initform

(gensym "framebuffer")

Readers

key (generic function)

Class: index-buffer ()

Creates and keeps track of GPU index buffer object (shared memory with gpu).

Package

clinch

Source

index-buffer.lisp (file)

Direct superclasses

buffer (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id (generic function)

Slot: type
Initargs

:qtype

Initform

:unsigned-int

Readers

qtype (generic function)

Writers

(setf qtype) (generic function)

Slot: usage
Initargs

clinch:usage

Initform

:static-draw

Readers

usage (generic function)

Writers

(setf usage) (generic function)

Slot: stride
Initargs

:stride

Initform

1

Readers

stride (generic function)

Slot: vertex-count
Initargs

:count

Readers

vertex-count (generic function)

Slot: target
Initargs

:target

Initform

:element-array-buffer

Readers

target (generic function)

Slot: loaded
Readers

loaded? (generic function)

Writers

(setf loaded?) (generic function)

Slot: key
Initform

(gensym "buffer")

Readers

key (generic function)

Class: node ()

A node class for creating hierarchies of objects. It caches calculations for speed. Not enough in itself, and is not required by Clinch.

Package

clinch

Source

node.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

2d-node (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: trans
Initargs

:translation

Initform

clinch::v0

Readers

translation (generic function)

Slot: rot
Initargs

:rotation

Initform

(rtg-math.quaternions:identity)

Readers

rotation (generic function)

Slot: scale
Initargs

:scale

Initform

clinch::vi

Readers

scaling (generic function)

Slot: t-matrix
Slot: r-matrix
Slot: s-matrix
Slot: transform
Slot: current-transform
Readers

current-transform (generic function)

Slot: enabled
Initargs

:enabled

Initform

t

Readers

enabled (generic function)

Writers

(setf enabled) (generic function)

Slot: children
Initargs

:children

Readers

children (generic function)

Writers

(setf children) (generic function)

Class: shader-program ()

Creates and keeps track of the shader-program objects. Requires an UNLOAD call when you are done. Bind Buffer functions are in Buffer.l

Package

clinch

Source

shader-program.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Readers

name (generic function)

Slot: program
Readers

program (generic function)

Slot: attributes
Readers

shader-program-attributes (generic function)

Slot: uniforms
Readers

shader-program-uniforms (generic function)

Slot: key
Initform

(gensym "shader-program")

Readers

key (generic function)

Class: texture ()

Creates and keeps track of a texture object. Can be used with a pixelbuffer to speed things up.

Package

clinch

Source

texture.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

2d-node (class)

Direct methods
Direct slots
Slot: tex-id
Initargs

:tex-id

Readers

tex-id (generic function)

Writers

(setf tex-id) (generic function)

Slot: width
Initargs

:width

Readers

width (generic function)

Slot: height
Initargs

:height

Readers

height (generic function)

Slot: type
Initargs

:qtype

Initform

:unsigned-char

Readers

qtype (generic function)

Writers

(setf qtype) (generic function)

Slot: internal-format
Initargs

:internal-format

Initform

:rgba

Readers

internal-format (generic function)

Writers

(setf internal-format) (generic function)

Slot: data-format
Initargs

:format

Initform

:bgra

Readers

data-format (generic function)

Writers

(setf data-format) (generic function)

Slot: stride
Initargs

:stride

Initform

4

Readers

stride (generic function)

Slot: key
Initform

(gensym "texture")

Readers

key (generic function)

Class: viewport ()

Creates a viewport.

Package

clinch

Source

viewport.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • quick-set (method)
  • render (method)
  • height (method)
  • height (method)
  • width (method)
  • width (method)
  • resize (method)
  • initialize-instance (method)
  • clear-color (method)
  • clear-color (method)
  • y (method)
  • y (method)
  • x (method)
  • x (method)
Direct slots
Slot: x
Initargs

:x

Initform

0

Readers

x (generic function)

Writers

(setf x) (generic function)

Slot: y
Initargs

:y

Initform

0

Readers

y (generic function)

Writers

(setf y) (generic function)

Slot: width
Initargs

:width

Initform

0

Readers

width (generic function)

Writers

(setf width) (generic function)

Slot: height
Initargs

:height

Initform

0

Readers

height (generic function)

Writers

(setf height) (generic function)

Slot: clear-color
Initargs

:clear-color

Readers

clear-color (generic function)

Writers

(setf clear-color) (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: color-attachment-0
Package

clinch

Source

framebuffer.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Special variables

Special Variable: *current-shader-attributes*
Package

clinch

Source

clinch.lisp (file)

Special Variable: *current-shader-uniforms*
Package

clinch

Source

clinch.lisp (file)

Special Variable: *default-texture*
Package

clinch

Source

texture.lisp (file)

Special Variable: *dependents*

Weak hash of OpenGL objects waiting to be unloaded by another.

Package

clinch

Source

clinch.lisp (file)

Special Variable: *generic-shader-hash-table*
Package

clinch

Source

default-shaders.lisp (file)

Special Variable: *identity-texture*
Package

clinch

Source

texture.lisp (file)

Special Variable: *inited*
Package

clinch

Source

clinch.lisp (file)

Special Variable: *running*
Package

clinch

Source

clinch.lisp (file)

Special Variable: *shaders->shader-programs*
Package

clinch

Source

clinch.lisp (file)

Special Variable: *startup-condition*
Package

clinch

Source

window.lisp (file)

Special Variable: *startup-lock*
Package

clinch

Source

window.lisp (file)

Special Variable: v0

A shortcut for the zero vector.

Package

clinch

Source

node.lisp (file)

Special Variable: v20
Package

clinch

Source

2d-node.lisp (file)

Special Variable: v2i
Package

clinch

Source

2d-node.lisp (file)

Special Variable: vi

A shortcut to the identity vector

Package

clinch

Source

node.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: $ &body BODY
Package

clinch

Source

threads.lisp (file)

Macro: average-vectors &rest V
Package

clinch

Source

shapes.lisp (file)

Macro: clone-function OLD NEW
Package

clinch

Source

clinch.lisp (file)

Macro: continuable &body BODY

Helper macro that we can use to allow us to continue from an
error. Remember to hit C in slime or pick the restart so errors don’t kill the app.

Package

clinch

Source

window.lisp (file)

Macro: define-default-shader NAME
Package

clinch

Source

default-shaders.lisp (file)

Macro: fire LOC &rest ARGS
Package

clinch

Source

window.lisp (file)

Macro: force-print DESTINATION CONTROL-STRING &rest FORMAL-ARGUMENTS
Package

clinch

Source

window.lisp (file)

Macro: with-main &body BODY

Enables REPL access via UPDATE-SWANK in the main loop using SDL2. Wrap this around the sdl2:with-init code.

Package

clinch

Source

window.lisp (file)

Macro: with-texture (TEX) &body BODY
Package

clinch

Source

texture.lisp (file)

Macro: with-viewport (VP) &body BODY

A wrapper which sets and unsets a viewport.

Package

clinch

Source

viewport.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Functions

Function: $> THREAD
Package

clinch

Source

threads.lisp (file)

Function: _init &key ASYNCHRONOUS INIT-CONTROLLERS WIDTH HEIGHT TITLE FULLSCREEN NO-FRAME CONTEXT-PROFILE-MASK ALPHA-SIZE DEPTH-SIZE STENCIL-SIZE RED-SIZE GREEN-SIZE BLUE-SIZE BUFFER-SIZE DOUBLE-BUFFER HIDDEN RESIZABLE
Package

clinch

Source

window.lisp (file)

Function: add-dependent THIS DEPENDENT
Package

clinch

Source

clinch.lisp (file)

Function: add-uncollected THIS

Adds item to list of loaded OpenGL objects.

Package

clinch

Source

clinch.lisp (file)

Function: cffi-type->gl-type TYPE

Returns the buffer type as a cffi type.

Package

clinch

Source

buffer.lisp (file)

Function: convert-non-buffer THIS VALUE &key PROJECTION PARENT
Package

clinch

Source

entity.lisp (file)

Function: ensure-cepl-compatible-setup ()
Package

clinch

Source

window.lisp (file)

Function: get-box-vertex-normal-texture-and-index-buffers ()
Package

clinch

Source

shapes.lisp (file)

Function: get-cylinder-vertex-normal-and-index-buffers SIDES
Package

clinch

Source

shapes.lisp (file)

Function: get-height-node-normal ARR X Y W H
Package

clinch

Source

shapes.lisp (file)

Function: get-height-node-normals ARR W H
Package

clinch

Source

shapes.lisp (file)

Function: get-intersections START DIRECTION IARRAY VARRAY
Package

clinch

Source

clinch.lisp (file)

Function: get-middle-square-and-normal ARR X Y W H
Package

clinch

Source

shapes.lisp (file)

Function: get-middle-squares-and-normals ARR W H
Package

clinch

Source

shapes.lisp (file)

Function: get-point ARRAY I
Package

clinch

Source

clinch.lisp (file)

Function: get-point-by-index POINTS INDEX
Package

clinch

Source

transform.lisp (file)

Function: get-point-or-vert ARR X Y W H
Package

clinch

Source

shapes.lisp (file)

Function: get-sphere-vertex-normal-and-index-buffers ()
Package

clinch

Source

shapes.lisp (file)

Function: heightmap->buffers ARR W H
Package

clinch

Source

shapes.lisp (file)

Function: init-controllers ()
Package

clinch

Source

window.lisp (file)

Function: main-loop WIN GL-CONTEXT W H &optional ASYNCHRONOUS
Package

clinch

Source

window.lisp (file)

Function: make-box ()
Package

clinch

Source

shapes.lisp (file)

Function: make-cylinder &optional SIDES
Package

clinch

Source

shapes.lisp (file)

Function: make-dummy-entity NUM-POINTS TRIANGLES &key TEXTURE
Package

clinch

Source

shapes.lisp (file)

Function: make-heightmap-entity HEIGHT-MAP W H &optional TEXTURE
Package

clinch

Source

shapes.lisp (file)

Function: make-list-length LEN LST &optional FILL-VALUE
Package

clinch

Source

clinch.lisp (file)

Function: make-quad-indices ()
Package

clinch

Source

shapes.lisp (file)

Function: make-quad-texture-coordinates ()
Package

clinch

Source

shapes.lisp (file)

Function: make-quad-vertexes WIDTH HEIGHT &key CENTER
Package

clinch

Source

shapes.lisp (file)

Function: make-sphere ()
Package

clinch

Source

shapes.lisp (file)

Function: merge-hashes HASHES
Package

clinch

Source

clinch.lisp (file)

Function: midpoint VECTORS
Package

clinch

Source

clinch.lisp (file)

Function: normalize-for-3d M
Package

clinch

Source

clinch.lisp (file)

Function: print-sdl-version ()
Package

clinch

Source

window.lisp (file)

Function: random-heightfield W H
Package

clinch

Source

shapes.lisp (file)

Function: ray-triangles-intersect POINTS INDEX ORIGIN DIRECTION
Package

clinch

Source

clinch.lisp (file)

Function: remove-dependent THIS DEPENDENT
Package

clinch

Source

clinch.lisp (file)

Function: remove-shader-value-suffix STR
Package

clinch

Source

shader-program.lisp (file)

Function: remove-shader-value-type-suffix SYM
Package

clinch

Source

shader-program.lisp (file)

Function: remove-uncollected THIS

Removes item from list of loaded OpenGL objects. Does NOT call unload.

Package

clinch

Source

clinch.lisp (file)

Function: separate LST LEN
Package

clinch

Source

clinch.lisp (file)

Function: set-assoc-name ALIST ITEM VALUE
Package

clinch

Source

clinch.lisp (file)

Function: set-assoc-value ALIST ITEM VALUE
Package

clinch

Source

clinch.lisp (file)

Function: set-default-gl-options ()
Package

clinch

Source

window.lisp (file)

Function: set-point ARR NUM X Y Z
Package

clinch

Source

shapes.lisp (file)

Function: set-point-by-index POINTS INDEX VALUE
Package

clinch

Source

transform.lisp (file)

Function: split-keywords LST &optional KEYS OBJECTS
Package

clinch

Source

clinch.lisp (file)

Function: transform-tree TESTER TRANSFORMER TREE

I think this is a tree walker which applies a function to a clinch node tree.

Package

clinch

Source

clinch.lisp (file)

Function: tst E ARR W H &key TEXTURE
Package

clinch

Source

shapes.lisp (file)

Function: uninit-controllers ()
Package

clinch

Source

window.lisp (file)

Function: unload-all-dependants THIS
Package

clinch

Source

clinch.lisp (file)

Function: unload-dependent THIS DEPENDENT
Package

clinch

Source

clinch.lisp (file)

Function: update-swank ()

Called from within the main loop, this keep the lisp repl working while cepl runs

Package

clinch

Source

window.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Generic functions

Generic Function: add-color-buffer THIS INDEX TEX
Package

clinch

Methods
Method: add-color-buffer (THIS frame-buffer) INDEX (TEX texture)

Add a color buffer at position index.

Source

framebuffer.lisp (file)

Generic Function: add-finalizer THIS
Package

clinch

Methods
Method: add-finalizer (THIS shader)
Source

shaders.lisp (file)

Generic Function: attach-shader PROGRAM SHADER
Package

clinch

Methods
Method: attach-shader (PROGRAM shader-program) (SHADER shader)
Source

shader-program.lisp (file)

Generic Function: bind-buffer-to-normal-array THIS &key INDEX OFFSET LENGTH
Package

clinch

Methods
Method: bind-buffer-to-normal-array (THIS buffer) &key INDEX OFFSET LENGTH

Use buffer in shader for the vertex array: The built-in variable gl_Vertex.

Source

buffer.lisp (file)

Generic Function: bones OBJECT
Generic Function: (setf bones) NEW-VALUE OBJECT
Package

clinch

Methods
Method: bones (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Method: (setf bones) NEW-VALUE (ENTITY entity)

automatically generated writer method

Source

entity.lisp (file)

Generic Function: build-shader-program THIS &key VERTEX-SHADER FRAGMENT-SHADER GEOMETRY-SHADER ATTRIBUTES UNIFORMS DEFINES UNDEFS DELETE-SHADERS
Package

clinch

Methods
Method: build-shader-program (THIS shader-program) &key VERTEX-SHADER FRAGMENT-SHADER GEOMETRY-SHADER ATTRIBUTES UNIFORMS DEFINES UNDEFS DELETE-SHADERS
Source

shader-program.lisp (file)

Method: build-shader-program (THIS null) &key VERTEX-SHADER FRAGMENT-SHADER GEOMETRY-SHADER ATTRIBUTES UNIFORMS DEFINES UNDEFS DELETE-SHADERS
Source

shader-program.lisp (file)

Generic Function: color-attachments OBJECT
Package

clinch

Methods
Method: color-attachments (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Generic Function: current-time OBJECT
Generic Function: (setf current-time) NEW-VALUE OBJECT
Package

clinch

Methods
Method: current-time (ANIMATOR animator)

automatically generated reader method

Source

animation.lisp (file)

Method: (setf current-time) NEW-VALUE (ANIMATOR animator)

automatically generated writer method

Source

animation.lisp (file)

Generic Function: current-transform OBJECT
Package

clinch

Methods
Method: current-transform (NODE node)

automatically generated reader method

Source

node.lisp (file)

Generic Function: data-from-list THIS LST
Package

clinch

Methods
Method: data-from-list (THIS texture) LST
Source

texture.lisp (file)

Generic Function: delete-entity THIS &key
Package

clinch

Methods
Method: delete-entity (THIS entity) &key
Source

shapes.lisp (file)

Generic Function: detach-shader PROGRAM SHADER
Package

clinch

Methods
Method: detach-shader (PROGRAM shader-program) (SHADER shader)
Source

shader-program.lisp (file)

Generic Function: find-shader-attributes THIS &key
Package

clinch

Methods
Method: find-shader-attributes (THIS shader-program) &key
Source

shader-program.lisp (file)

Generic Function: find-shader-uniforms THIS &key
Package

clinch

Methods
Method: find-shader-uniforms (THIS shader-program) &key
Source

shader-program.lisp (file)

Generic Function: internal-format OBJECT
Generic Function: (setf internal-format) NEW-VALUE OBJECT
Package

clinch

Methods
Method: internal-format (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: (setf internal-format) NEW-VALUE (TEXTURE texture)

automatically generated writer method

Source

texture.lisp (file)

Generic Function: key OBJECT
Package

clinch

Methods
Method: key (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Method: key (TEXTURE texture)

automatically generated reader method

Source

texture.lisp (file)

Method: key (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: key (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Method: key (SHADER-PROGRAM shader-program)

automatically generated reader method

Source

shader-program.lisp (file)

Method: key (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Generic Function: list-raw-shader-attributes THIS
Package

clinch

Methods
Method: list-raw-shader-attributes (THIS shader-program)

List the shader-program’s attribute arguments.

Source

shader-program.lisp (file)

Generic Function: list-shader-attributes THIS
Package

clinch

Methods
Method: list-shader-attributes (THIS shader-program)

List the shader-program’s attribute arguments.

Source

shader-program.lisp (file)

Generic Function: list-shader-uniforms THIS
Package

clinch

Methods
Method: list-shader-uniforms (THIS shader-program)

List the shader-program’s uniform arguments.

Source

shader-program.lisp (file)

Generic Function: loaded? OBJECT
Generic Function: (setf loaded?) NEW-VALUE OBJECT
Package

clinch

Methods
Method: loaded? (INDEX-BUFFER index-buffer)

automatically generated reader method

Source

index-buffer.lisp (file)

Method: (setf loaded?) NEW-VALUE (INDEX-BUFFER index-buffer)

automatically generated writer method

Source

index-buffer.lisp (file)

Method: loaded? (BUFFER buffer)

automatically generated reader method

Source

buffer.lisp (file)

Method: (setf loaded?) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

buffer.lisp (file)

Generic Function: make-shader THIS
Package

clinch

Methods
Method: make-shader (THIS geometry-shader)

Creates a geometry shader.

Source

shaders.lisp (file)

Method: make-shader (THIS fragment-shader)

Creates a fragment shader.

Source

shaders.lisp (file)

Method: make-shader (THIS vertex-shader)

Creates a vertex shader.

Source

shaders.lisp (file)

Generic Function: make-shareable-array THIS &key SIZE
Package

clinch

Methods
Method: make-shareable-array (THIS buffer) &key SIZE
Source

buffer.lisp (file)

Generic Function: mode OBJECT
Package

clinch

Methods
Method: mode (ENTITY entity)

automatically generated reader method

Source

entity.lisp (file)

Generic Function: node-top-map THIS &optional PARENT
Package

clinch

Methods
Method: node-top-map (THIS node) &optional PARENT
Source

node.lisp (file)

Generic Function: node-top-map-string THIS &optional PARENT
Package

clinch

Methods
Method: node-top-map-string (THIS node) &optional PARENT
Source

node.lisp (file)

Generic Function: remove-shader-program-attribute THIS KEY
Package

clinch

Methods
Method: remove-shader-program-attribute (THIS shader-program) KEY

Removes a shader-program attribute

Source

shader-program.lisp (file)

Generic Function: remove-shader-program-uniform THIS KEY
Package

clinch

Methods
Method: remove-shader-program-uniform (THIS shader-program) KEY

Removes a shader-program uniform

Source

shader-program.lisp (file)

Generic Function: reset THIS

Resets a node to default. Position 0, rotation 0 and scale of 1. Shortcut is !0.

Package

clinch

Source

node.lisp (file)

Methods
Method: reset (THIS node)

Resets the node.

Generic Function: reset-rotation THIS

Resets a node’s rotation to 1,0,0,0. Shortcut is !r0

Package

clinch

Source

node.lisp (file)

Methods
Method: reset-rotation (THIS node)
Generic Function: reset-scaling THIS

Resets a node’s scaling to 1,1,1. Shortcut is !s0

Package

clinch

Source

node.lisp (file)

Methods
Method: reset-scaling (THIS node)
Generic Function: reset-translation THIS

Resets a node’s translation to 0,0,0. Shortcut is !t0

Package

clinch

Source

node.lisp (file)

Methods
Method: reset-translation (THIS node)
Generic Function: rotation-matrix THIS &key

Get the rotation matrix.

Package

clinch

Source

node.lisp (file)

Methods
Method: rotation-matrix (THIS node) &key

Gets the rotation matrix.

Generic Function: scale-matrix THIS &key

Get the scale matrix.

Package

clinch

Source

node.lisp (file)

Methods
Method: scale-matrix (THIS node) &key

Gets the scaling matrix.

Generic Function: shader-attributes OBJECT
Package

clinch

Methods
Method: shader-attributes (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Generic Function: shader-program-attribute THIS KEY
Generic Function: (setf shader-program-attribute) VALUE THIS KEY
Package

clinch

Methods
Method: shader-program-attribute (THIS shader-program) KEY

Gets a shader-program attribute

Source

shader-program.lisp (file)

Method: (setf shader-program-attribute) VALUE (THIS shader-program) KEY

Sets a shader-program attribute.

Source

shader-program.lisp (file)

Generic Function: shader-program-attributes OBJECT
Package

clinch

Methods
Method: shader-program-attributes (SHADER-PROGRAM shader-program)

automatically generated reader method

Source

shader-program.lisp (file)

Generic Function: shader-program-uniform THIS KEY
Generic Function: (setf shader-program-uniform) VALUE THIS KEY
Package

clinch

Methods
Method: shader-program-uniform (THIS shader-program) KEY

Gets a shader-program uniform

Source

shader-program.lisp (file)

Method: (setf shader-program-uniform) VALUE (THIS shader-program) KEY

Sets a shader-program uniform.

Source

shader-program.lisp (file)

Generic Function: shader-program-uniforms OBJECT
Package

clinch

Methods
Method: shader-program-uniforms (SHADER-PROGRAM shader-program)

automatically generated reader method

Source

shader-program.lisp (file)

Generic Function: shader-type OBJECT
Package

clinch

Methods
Method: shader-type (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Generic Function: shader-uniforms OBJECT
Package

clinch

Methods
Method: shader-uniforms (SHADER shader)

automatically generated reader method

Source

shaders.lisp (file)

Generic Function: stencil-attachments OBJECT
Package

clinch

Methods
Method: stencil-attachments (FRAME-BUFFER frame-buffer)

automatically generated reader method

Source

framebuffer.lisp (file)

Generic Function: translation-matrix THIS &key

Get the translation matrix.

Package

clinch

Source

node.lisp (file)

Methods
Method: translation-matrix (THIS node) &key

Gets the translation matrix.

Generic Function: unbind-buffer-attribute-array THIS SHADER-PROGRAM NAME
Package

clinch

Methods
Method: unbind-buffer-attribute-array (THIS buffer) (SHADER-PROGRAM shader-program) NAME

Bind buffer to a shader-program attribute.

Source

buffer.lisp (file)

Generic Function: unbind-normal-array ()
Package

clinch

Methods
Method: unbind-normal-array ()

Stop using the normal array

Source

buffer.lisp (file)

Generic Function: unbind-vertex-array ()
Package

clinch

Methods
Method: unbind-vertex-array ()

Stop using the vertex array

Source

buffer.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Classes

Class: 2d-node ()
Package

clinch

Source

2d-node.lisp (file)

Direct superclasses
Class: fragment-shader ()

Fragment Shader Class.

Package

clinch

Source

shaders.lisp (file)

Direct superclasses

shader (class)

Direct methods

make-shader (method)

Direct slots
Slot: shader-type
Initform

:fragment-shader

Class: geometry-shader ()

Geometry Shader Class.

Package

clinch

Source

shaders.lisp (file)

Direct superclasses

shader (class)

Direct methods

make-shader (method)

Direct slots
Slot: shader-type
Initform

:geometry-shader

Class: pixel-buffer ()

Creates a buffer for quickly reading and writing to textures. This is separate from the texture’s data.

Package

clinch

Source

pixel-buffer.lisp (file)

Direct superclasses

buffer (class)

Direct methods

pushg (method)

Direct slots
Slot: target
Initform

:pixel-unpack-buffer

Class: shader ()

Base class for all individual shaders.

Package

clinch

Source

shaders.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: name
Readers

name (generic function)

Slot: id
Initargs

:id

Readers

id (generic function)

Slot: shader-type
Initargs

:shader-type

Readers

shader-type (generic function)

Slot: attributes
Readers

shader-attributes (generic function)

Slot: uniforms
Readers

shader-uniforms (generic function)

Slot: key
Initform

(gensym "shader")

Readers

key (generic function)

Class: vertex-shader ()

Vertex Shader Class.

Package

clinch

Source

shaders.lisp (file)

Direct superclasses

shader (class)

Direct methods

make-shader (method)

Direct slots
Slot: shader-type
Initform

:vertex-shader


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
clinch.asd: The clinch<dot>asd file
clinch/2d-node.lisp: The clinch/2d-node<dot>lisp file
clinch/animation.lisp: The clinch/animation<dot>lisp file
clinch/buffer.lisp: The clinch/buffer<dot>lisp file
clinch/clinch.lisp: The clinch/clinch<dot>lisp file
clinch/default-shaders.lisp: The clinch/default-shaders<dot>lisp file
clinch/entity.lisp: The clinch/entity<dot>lisp file
clinch/framebuffer.lisp: The clinch/framebuffer<dot>lisp file
clinch/index-buffer.lisp: The clinch/index-buffer<dot>lisp file
clinch/node.lisp: The clinch/node<dot>lisp file
clinch/package.lisp: The clinch/package<dot>lisp file
clinch/pixel-buffer.lisp: The clinch/pixel-buffer<dot>lisp file
clinch/shader-program.lisp: The clinch/shader-program<dot>lisp file
clinch/shaders.lisp: The clinch/shaders<dot>lisp file
clinch/shapes.lisp: The clinch/shapes<dot>lisp file
clinch/texture.lisp: The clinch/texture<dot>lisp file
clinch/threads.lisp: The clinch/threads<dot>lisp file
clinch/transform.lisp: The clinch/transform<dot>lisp file
clinch/viewport.lisp: The clinch/viewport<dot>lisp file
clinch/window.lisp: The clinch/window<dot>lisp file

F
File, Lisp, clinch.asd: The clinch<dot>asd file
File, Lisp, clinch/2d-node.lisp: The clinch/2d-node<dot>lisp file
File, Lisp, clinch/animation.lisp: The clinch/animation<dot>lisp file
File, Lisp, clinch/buffer.lisp: The clinch/buffer<dot>lisp file
File, Lisp, clinch/clinch.lisp: The clinch/clinch<dot>lisp file
File, Lisp, clinch/default-shaders.lisp: The clinch/default-shaders<dot>lisp file
File, Lisp, clinch/entity.lisp: The clinch/entity<dot>lisp file
File, Lisp, clinch/framebuffer.lisp: The clinch/framebuffer<dot>lisp file
File, Lisp, clinch/index-buffer.lisp: The clinch/index-buffer<dot>lisp file
File, Lisp, clinch/node.lisp: The clinch/node<dot>lisp file
File, Lisp, clinch/package.lisp: The clinch/package<dot>lisp file
File, Lisp, clinch/pixel-buffer.lisp: The clinch/pixel-buffer<dot>lisp file
File, Lisp, clinch/shader-program.lisp: The clinch/shader-program<dot>lisp file
File, Lisp, clinch/shaders.lisp: The clinch/shaders<dot>lisp file
File, Lisp, clinch/shapes.lisp: The clinch/shapes<dot>lisp file
File, Lisp, clinch/texture.lisp: The clinch/texture<dot>lisp file
File, Lisp, clinch/threads.lisp: The clinch/threads<dot>lisp file
File, Lisp, clinch/transform.lisp: The clinch/transform<dot>lisp file
File, Lisp, clinch/viewport.lisp: The clinch/viewport<dot>lisp file
File, Lisp, clinch/window.lisp: The clinch/window<dot>lisp file

L
Lisp File, clinch.asd: The clinch<dot>asd file
Lisp File, clinch/2d-node.lisp: The clinch/2d-node<dot>lisp file
Lisp File, clinch/animation.lisp: The clinch/animation<dot>lisp file
Lisp File, clinch/buffer.lisp: The clinch/buffer<dot>lisp file
Lisp File, clinch/clinch.lisp: The clinch/clinch<dot>lisp file
Lisp File, clinch/default-shaders.lisp: The clinch/default-shaders<dot>lisp file
Lisp File, clinch/entity.lisp: The clinch/entity<dot>lisp file
Lisp File, clinch/framebuffer.lisp: The clinch/framebuffer<dot>lisp file
Lisp File, clinch/index-buffer.lisp: The clinch/index-buffer<dot>lisp file
Lisp File, clinch/node.lisp: The clinch/node<dot>lisp file
Lisp File, clinch/package.lisp: The clinch/package<dot>lisp file
Lisp File, clinch/pixel-buffer.lisp: The clinch/pixel-buffer<dot>lisp file
Lisp File, clinch/shader-program.lisp: The clinch/shader-program<dot>lisp file
Lisp File, clinch/shaders.lisp: The clinch/shaders<dot>lisp file
Lisp File, clinch/shapes.lisp: The clinch/shapes<dot>lisp file
Lisp File, clinch/texture.lisp: The clinch/texture<dot>lisp file
Lisp File, clinch/threads.lisp: The clinch/threads<dot>lisp file
Lisp File, clinch/transform.lisp: The clinch/transform<dot>lisp file
Lisp File, clinch/viewport.lisp: The clinch/viewport<dot>lisp file
Lisp File, clinch/window.lisp: The clinch/window<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   !   $   (   *   _  
A   B   C   D   E   F   G   H   I   K   L   M   N   P   Q   R   S   T   U   V   W   X   Y  
Index Entry  Section

!
!: Exported macros
!!: Exported macros
!0: Exported generic functions
!0: Exported generic functions
!<: Exported generic functions
!<: Exported generic functions
!<: Exported generic functions
!<: Exported generic functions
!>: Exported generic functions
!>: Exported generic functions
!>: Exported generic functions
!>: Exported generic functions
!r: Exported macros
!r0: Exported generic functions
!r0: Exported generic functions
!s: Exported macros
!s0: Exported generic functions
!s0: Exported generic functions
!t: Exported macros
!t0: Exported generic functions
!t0: Exported generic functions

$
$: Internal macros
$>: Internal functions

(
(setf !>): Exported generic functions
(setf !>): Exported generic functions
(setf animation): Exported generic functions
(setf animation): Exported generic functions
(setf attribute): Exported generic functions
(setf attribute): Exported generic functions
(setf bones): Internal generic functions
(setf bones): Internal generic functions
(setf changed?): Exported generic functions
(setf changed?): Exported generic functions
(setf children): Exported generic functions
(setf children): Exported generic functions
(setf clear-color): Exported generic functions
(setf clear-color): Exported generic functions
(setf color-attachment): Exported generic functions
(setf color-attachment): Exported generic functions
(setf current-time): Internal generic functions
(setf current-time): Internal generic functions
(setf data-format): Exported generic functions
(setf data-format): Exported generic functions
(setf depth-buffer): Exported generic functions
(setf depth-buffer): Exported generic functions
(setf enabled): Exported generic functions
(setf enabled): Exported generic functions
(setf enabled): Exported generic functions
(setf frames): Exported generic functions
(setf frames): Exported generic functions
(setf height): Exported generic functions
(setf height): Exported generic functions
(setf indexes): Exported generic functions
(setf indexes): Exported generic functions
(setf internal-format): Internal generic functions
(setf internal-format): Internal generic functions
(setf loaded?): Internal generic functions
(setf loaded?): Internal generic functions
(setf loaded?): Internal generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf paused): Exported generic functions
(setf paused): Exported generic functions
(setf qtype): Exported generic functions
(setf qtype): Exported generic functions
(setf qtype): Exported generic functions
(setf qtype): Exported generic functions
(setf repeat): Exported generic functions
(setf repeat): Exported generic functions
(setf repeat): Exported generic functions
(setf rotation): Exported generic functions
(setf rotation): Exported generic functions
(setf run-length): Exported generic functions
(setf run-length): Exported generic functions
(setf run-length): Exported generic functions
(setf run-speed): Exported generic functions
(setf run-speed): Exported generic functions
(setf scaling): Exported generic functions
(setf scaling): Exported generic functions
(setf shader-program): Exported generic functions
(setf shader-program): Exported generic functions
(setf shader-program-attribute): Internal generic functions
(setf shader-program-attribute): Internal generic functions
(setf shader-program-uniform): Internal generic functions
(setf shader-program-uniform): Internal generic functions
(setf shader-source): Exported generic functions
(setf target): Exported generic functions
(setf target): Exported generic functions
(setf tex-id): Exported generic functions
(setf tex-id): Exported generic functions
(setf transform): Exported generic functions
(setf transform): Exported generic functions
(setf translation): Exported generic functions
(setf translation): Exported generic functions
(setf uniform): Exported generic functions
(setf uniform): Exported generic functions
(setf usage): Exported generic functions
(setf usage): Exported generic functions
(setf usage): Exported generic functions
(setf width): Exported generic functions
(setf width): Exported generic functions
(setf x): Exported generic functions
(setf x): Exported generic functions
(setf y): Exported generic functions
(setf y): Exported generic functions

*
*default-on-idle*: Exported functions

_
_init: Internal functions

A
add-child: Exported generic functions
add-child: Exported generic functions
add-color-buffer: Internal generic functions
add-color-buffer: Internal generic functions
add-dependent: Internal functions
add-finalizer: Internal generic functions
add-finalizer: Internal generic functions
add-uncollected: Internal functions
animation: Exported generic functions
animation: Exported generic functions
attach-shader: Internal generic functions
attach-shader: Internal generic functions
attach-uniform: Exported generic functions
attach-uniform: Exported generic functions
attach-uniform: Exported generic functions
attach-uniform: Exported generic functions
attribute: Exported generic functions
attribute: Exported generic functions
attributes: Exported generic functions
attributes: Exported generic functions
average-vectors: Internal macros

B
bind: Exported generic functions
bind: Exported generic functions
bind: Exported generic functions
bind: Exported generic functions
bind: Exported generic functions
bind-buffer-to-attribute-array: Exported generic functions
bind-buffer-to-attribute-array: Exported generic functions
bind-buffer-to-normal-array: Internal generic functions
bind-buffer-to-normal-array: Internal generic functions
bind-buffer-to-vertex-array: Exported generic functions
bind-buffer-to-vertex-array: Exported generic functions
bind-sampler: Exported generic functions
bind-sampler: Exported generic functions
bind-static-values-to-attribute: Exported generic functions
bind-static-values-to-attribute: Exported generic functions
bones: Internal generic functions
bones: Internal generic functions
build-shader-program: Internal generic functions
build-shader-program: Internal generic functions
build-shader-program: Internal generic functions

C
cffi-type->gl-type: Internal functions
changed?: Exported generic functions
changed?: Exported generic functions
children: Exported generic functions
children: Exported generic functions
clear-color: Exported generic functions
clear-color: Exported generic functions
clone-function: Internal macros
color-attachment: Exported generic functions
color-attachment: Exported generic functions
color-attachments: Internal generic functions
color-attachments: Internal generic functions
continuable: Internal macros
convert-non-buffer: Internal functions
current-time: Internal generic functions
current-time: Internal generic functions
current-transform: Internal generic functions
current-transform: Internal generic functions

D
d->r: Exported macros
data-format: Exported generic functions
data-format: Exported generic functions
data-from-list: Internal generic functions
data-from-list: Internal generic functions
data-from-pointer: Exported generic functions
data-from-pointer: Exported generic functions
data-from-pointer: Exported generic functions
decompose-transform: Exported functions
defevent: Exported macros
define-default-shader: Internal macros
degrees->radians: Exported macros
delete-entity: Internal generic functions
delete-entity: Internal generic functions
depth-buffer: Exported generic functions
depth-buffer: Exported generic functions
detach-shader: Internal generic functions
detach-shader: Internal generic functions
draw-with-index-buffer: Exported generic functions
draw-with-index-buffer: Exported generic functions
draw-with-ranged-index-buffer: Exported generic functions
draw-with-ranged-index-buffer: Exported generic functions

E
enabled: Exported generic functions
enabled: Exported generic functions
enabled: Exported generic functions
ensure-cepl-compatible-setup: Internal functions
ensure-float: Exported macros

F
find-shader-attributes: Internal generic functions
find-shader-attributes: Internal generic functions
find-shader-uniforms: Internal generic functions
find-shader-uniforms: Internal generic functions
fire: Internal macros
force-print: Internal macros
frames: Exported generic functions
frames: Exported generic functions
Function, $>: Internal functions
Function, *default-on-idle*: Exported functions
Function, add-dependent: Internal functions
Function, add-uncollected: Internal functions
Function, cffi-type->gl-type: Internal functions
Function, convert-non-buffer: Internal functions
Function, decompose-transform: Exported functions
Function, ensure-cepl-compatible-setup: Internal functions
Function, get-box-vertex-normal-texture-and-index-buffers: Internal functions
Function, get-cylinder-vertex-normal-and-index-buffers: Internal functions
Function, get-default-texture: Exported functions
Function, get-generic-per-vertex-color-shader: Exported functions
Function, get-generic-single-color-shader: Exported functions
Function, get-generic-single-diffuse-light-animation-shader: Exported functions
Function, get-generic-single-diffuse-light-per-vertex-color-shader: Exported functions
Function, get-generic-single-diffuse-light-shader: Exported functions
Function, get-generic-single-texture-shader: Exported functions
Function, get-generic-solid-phong-shader: Exported functions
Function, get-height-node-normal: Internal functions
Function, get-height-node-normals: Internal functions
Function, get-identity-texture: Exported functions
Function, get-intersections: Internal functions
Function, get-middle-square-and-normal: Internal functions
Function, get-middle-squares-and-normals: Internal functions
Function, get-point: Internal functions
Function, get-point-by-index: Internal functions
Function, get-point-or-vert: Internal functions
Function, get-screen-direction: Exported functions
Function, get-sphere-vertex-normal-and-index-buffers: Internal functions
Function, heightmap->buffers: Internal functions
Function, init: Exported functions
Function, init-controllers: Internal functions
Function, main-loop: Internal functions
Function, make-box: Internal functions
Function, make-cylinder: Internal functions
Function, make-dummy-entity: Internal functions
Function, make-frustum-transform: Exported functions
Function, make-heightmap-entity: Internal functions
Function, make-list-length: Internal functions
Function, make-orthogonal-transform: Exported functions
Function, make-perspective-transform: Exported functions
Function, make-quad: Exported functions
Function, make-quad-indices: Internal functions
Function, make-quad-texture-coordinates: Internal functions
Function, make-quad-vertexes: Internal functions
Function, make-sphere: Internal functions
Function, merge-hashes: Internal functions
Function, midpoint: Internal functions
Function, normalize-for-3d: Internal functions
Function, print-sdl-version: Internal functions
Function, random-heightfield: Internal functions
Function, ray-triangle-intersect?: Exported functions
Function, ray-triangles-intersect: Internal functions
Function, remove-dependent: Internal functions
Function, remove-shader-value-suffix: Internal functions
Function, remove-shader-value-type-suffix: Internal functions
Function, remove-uncollected: Internal functions
Function, separate: Internal functions
Function, set-assoc-name: Internal functions
Function, set-assoc-value: Internal functions
Function, set-default-gl-options: Internal functions
Function, set-point: Internal functions
Function, set-point-by-index: Internal functions
Function, split-keywords: Internal functions
Function, topological-sort: Exported functions
Function, transform-point: Exported functions
Function, transform-points: Exported functions
Function, transform-tree: Internal functions
Function, tst: Internal functions
Function, uninit: Exported functions
Function, uninit-controllers: Internal functions
Function, unload-all-dependants: Internal functions
Function, unload-all-uncollected: Exported functions
Function, unload-dependent: Internal functions
Function, unproject: Exported functions
Function, update-swank: Internal functions
Function, _init: Internal functions

G
Generic Function, !0: Exported generic functions
Generic Function, !<: Exported generic functions
Generic Function, !>: Exported generic functions
Generic Function, !r0: Exported generic functions
Generic Function, !s0: Exported generic functions
Generic Function, !t0: Exported generic functions
Generic Function, (setf !>): Exported generic functions
Generic Function, (setf animation): Exported generic functions
Generic Function, (setf attribute): Exported generic functions
Generic Function, (setf bones): Internal generic functions
Generic Function, (setf changed?): Exported generic functions
Generic Function, (setf children): Exported generic functions
Generic Function, (setf clear-color): Exported generic functions
Generic Function, (setf color-attachment): Exported generic functions
Generic Function, (setf current-time): Internal generic functions
Generic Function, (setf data-format): Exported generic functions
Generic Function, (setf depth-buffer): Exported generic functions
Generic Function, (setf enabled): Exported generic functions
Generic Function, (setf frames): Exported generic functions
Generic Function, (setf height): Exported generic functions
Generic Function, (setf indexes): Exported generic functions
Generic Function, (setf internal-format): Internal generic functions
Generic Function, (setf loaded?): Internal generic functions
Generic Function, (setf name): Exported generic functions
Generic Function, (setf paused): Exported generic functions
Generic Function, (setf qtype): Exported generic functions
Generic Function, (setf repeat): Exported generic functions
Generic Function, (setf rotation): Exported generic functions
Generic Function, (setf run-length): Exported generic functions
Generic Function, (setf run-speed): Exported generic functions
Generic Function, (setf scaling): Exported generic functions
Generic Function, (setf shader-program): Exported generic functions
Generic Function, (setf shader-program-attribute): Internal generic functions
Generic Function, (setf shader-program-uniform): Internal generic functions
Generic Function, (setf shader-source): Exported generic functions
Generic Function, (setf target): Exported generic functions
Generic Function, (setf tex-id): Exported generic functions
Generic Function, (setf transform): Exported generic functions
Generic Function, (setf translation): Exported generic functions
Generic Function, (setf uniform): Exported generic functions
Generic Function, (setf usage): Exported generic functions
Generic Function, (setf width): Exported generic functions
Generic Function, (setf x): Exported generic functions
Generic Function, (setf y): Exported generic functions
Generic Function, add-child: Exported generic functions
Generic Function, add-color-buffer: Internal generic functions
Generic Function, add-finalizer: Internal generic functions
Generic Function, animation: Exported generic functions
Generic Function, attach-shader: Internal generic functions
Generic Function, attach-uniform: Exported generic functions
Generic Function, attribute: Exported generic functions
Generic Function, attributes: Exported generic functions
Generic Function, bind: Exported generic functions
Generic Function, bind-buffer-to-attribute-array: Exported generic functions
Generic Function, bind-buffer-to-normal-array: Internal generic functions
Generic Function, bind-buffer-to-vertex-array: Exported generic functions
Generic Function, bind-sampler: Exported generic functions
Generic Function, bind-static-values-to-attribute: Exported generic functions
Generic Function, bones: Internal generic functions
Generic Function, build-shader-program: Internal generic functions
Generic Function, changed?: Exported generic functions
Generic Function, children: Exported generic functions
Generic Function, clear-color: Exported generic functions
Generic Function, color-attachment: Exported generic functions
Generic Function, color-attachments: Internal generic functions
Generic Function, current-time: Internal generic functions
Generic Function, current-transform: Internal generic functions
Generic Function, data-format: Exported generic functions
Generic Function, data-from-list: Internal generic functions
Generic Function, data-from-pointer: Exported generic functions
Generic Function, delete-entity: Internal generic functions
Generic Function, depth-buffer: Exported generic functions
Generic Function, detach-shader: Internal generic functions
Generic Function, draw-with-index-buffer: Exported generic functions
Generic Function, draw-with-ranged-index-buffer: Exported generic functions
Generic Function, enabled: Exported generic functions
Generic Function, find-shader-attributes: Internal generic functions
Generic Function, find-shader-uniforms: Internal generic functions
Generic Function, frames: Exported generic functions
Generic Function, get-animation-time: Exported generic functions
Generic Function, get-attribute-id: Exported generic functions
Generic Function, get-keyframe: Exported generic functions
Generic Function, get-size: Exported generic functions
Generic Function, get-uniform-id: Exported generic functions
Generic Function, height: Exported generic functions
Generic Function, id: Exported generic functions
Generic Function, indexes: Exported generic functions
Generic Function, internal-format: Internal generic functions
Generic Function, key: Internal generic functions
Generic Function, list-raw-shader-attributes: Internal generic functions
Generic Function, list-shader-attributes: Internal generic functions
Generic Function, list-shader-uniforms: Internal generic functions
Generic Function, loaded?: Internal generic functions
Generic Function, make-color-texture: Exported generic functions
Generic Function, make-depth-texture: Exported generic functions
Generic Function, make-pbo-for-texture: Exported generic functions
Generic Function, make-quad-and-texture: Exported generic functions
Generic Function, make-quad-for-texture: Exported generic functions
Generic Function, make-shader: Internal generic functions
Generic Function, make-shareable-array: Internal generic functions
Generic Function, map-buffer: Exported generic functions
Generic Function, mode: Internal generic functions
Generic Function, n*: Exported generic functions
Generic Function, name: Exported generic functions
Generic Function, node-top-map: Internal generic functions
Generic Function, node-top-map-string: Internal generic functions
Generic Function, pause: Exported generic functions
Generic Function, paused: Exported generic functions
Generic Function, play: Exported generic functions
Generic Function, program: Exported generic functions
Generic Function, pullg: Exported generic functions
Generic Function, pushg: Exported generic functions
Generic Function, qtype: Exported generic functions
Generic Function, quick-set: Exported generic functions
Generic Function, ray-entity-intersect?: Exported generic functions
Generic Function, remove-child: Exported generic functions
Generic Function, remove-shader-program-attribute: Internal generic functions
Generic Function, remove-shader-program-uniform: Internal generic functions
Generic Function, render: Exported generic functions
Generic Function, repeat: Exported generic functions
Generic Function, reset: Internal generic functions
Generic Function, reset-rotation: Internal generic functions
Generic Function, reset-scaling: Internal generic functions
Generic Function, reset-translation: Internal generic functions
Generic Function, resize: Exported generic functions
Generic Function, rotate: Exported generic functions
Generic Function, rotation: Exported generic functions
Generic Function, rotation-matrix: Internal generic functions
Generic Function, run-length: Exported generic functions
Generic Function, run-speed: Exported generic functions
Generic Function, scale: Exported generic functions
Generic Function, scale-matrix: Internal generic functions
Generic Function, scaling: Exported generic functions
Generic Function, set-texture-color: Exported generic functions
Generic Function, shader-attributes: Internal generic functions
Generic Function, shader-compile: Exported generic functions
Generic Function, shader-program: Exported generic functions
Generic Function, shader-program-attribute: Internal generic functions
Generic Function, shader-program-attributes: Internal generic functions
Generic Function, shader-program-uniform: Internal generic functions
Generic Function, shader-program-uniforms: Internal generic functions
Generic Function, shader-source: Exported generic functions
Generic Function, shader-type: Internal generic functions
Generic Function, shader-uniforms: Internal generic functions
Generic Function, size-in-bytes: Exported generic functions
Generic Function, skip: Exported generic functions
Generic Function, stencil-attachments: Internal generic functions
Generic Function, stop: Exported generic functions
Generic Function, stride: Exported generic functions
Generic Function, target: Exported generic functions
Generic Function, tex-id: Exported generic functions
Generic Function, transform: Exported generic functions
Generic Function, translate: Exported generic functions
Generic Function, translation: Exported generic functions
Generic Function, translation-matrix: Internal generic functions
Generic Function, traverse-node: Exported generic functions
Generic Function, unbind: Exported generic functions
Generic Function, unbind-buffer-attribute-array: Internal generic functions
Generic Function, unbind-normal-array: Internal generic functions
Generic Function, unbind-vertex-array: Internal generic functions
Generic Function, uniform: Exported generic functions
Generic Function, uniforms: Exported generic functions
Generic Function, unload: Exported generic functions
Generic Function, unmap-buffer: Exported generic functions
Generic Function, update: Exported generic functions
Generic Function, usage: Exported generic functions
Generic Function, use-shader-program: Exported generic functions
Generic Function, vertex-count: Exported generic functions
Generic Function, walk-node-tree: Exported generic functions
Generic Function, width: Exported generic functions
Generic Function, x: Exported generic functions
Generic Function, y: Exported generic functions
get-animation-time: Exported generic functions
get-animation-time: Exported generic functions
get-animation-time: Exported generic functions
get-animation-time: Exported generic functions
get-animation-time: Exported generic functions
get-animation-time: Exported generic functions
get-attribute-id: Exported generic functions
get-attribute-id: Exported generic functions
get-attribute-id: Exported generic functions
get-box-vertex-normal-texture-and-index-buffers: Internal functions
get-cylinder-vertex-normal-and-index-buffers: Internal functions
get-default-texture: Exported functions
get-generic-per-vertex-color-shader: Exported functions
get-generic-single-color-shader: Exported functions
get-generic-single-diffuse-light-animation-shader: Exported functions
get-generic-single-diffuse-light-per-vertex-color-shader: Exported functions
get-generic-single-diffuse-light-shader: Exported functions
get-generic-single-texture-shader: Exported functions
get-generic-solid-phong-shader: Exported functions
get-height-node-normal: Internal functions
get-height-node-normals: Internal functions
get-identity-texture: Exported functions
get-intersections: Internal functions
get-keyframe: Exported generic functions
get-keyframe: Exported generic functions
get-keyframe: Exported generic functions
get-keyframe: Exported generic functions
get-keyframe: Exported generic functions
get-keyframe: Exported generic functions
get-middle-square-and-normal: Internal functions
get-middle-squares-and-normals: Internal functions
get-point: Internal functions
get-point-by-index: Internal functions
get-point-or-vert: Internal functions
get-screen-direction: Exported functions
get-size: Exported generic functions
get-size: Exported generic functions
get-size: Exported generic functions
get-sphere-vertex-normal-and-index-buffers: Internal functions
get-uniform-id: Exported generic functions
get-uniform-id: Exported generic functions
get-uniform-id: Exported generic functions

H
height: Exported generic functions
height: Exported generic functions
height: Exported generic functions
heightmap->buffers: Internal functions

I
id: Exported generic functions
id: Exported generic functions
id: Exported generic functions
id: Exported generic functions
id: Exported generic functions
indexes: Exported generic functions
indexes: Exported generic functions
init: Exported functions
init-controllers: Internal functions
internal-format: Internal generic functions
internal-format: Internal generic functions

K
key: Internal generic functions
key: Internal generic functions
key: Internal generic functions
key: Internal generic functions
key: Internal generic functions
key: Internal generic functions
key: Internal generic functions

L
list-raw-shader-attributes: Internal generic functions
list-raw-shader-attributes: Internal generic functions
list-shader-attributes: Internal generic functions
list-shader-attributes: Internal generic functions
list-shader-uniforms: Internal generic functions
list-shader-uniforms: Internal generic functions
loaded?: Internal generic functions
loaded?: Internal generic functions
loaded?: Internal generic functions

M
Macro, !: Exported macros
Macro, !!: Exported macros
Macro, !r: Exported macros
Macro, !s: Exported macros
Macro, !t: Exported macros
Macro, $: Internal macros
Macro, average-vectors: Internal macros
Macro, clone-function: Internal macros
Macro, continuable: Internal macros
Macro, d->r: Exported macros
Macro, defevent: Exported macros
Macro, define-default-shader: Internal macros
Macro, degrees->radians: Exported macros
Macro, ensure-float: Exported macros
Macro, fire: Internal macros
Macro, force-print: Internal macros
Macro, r->d: Exported macros
Macro, radians->degrees: Exported macros
Macro, with-attributes: Exported macros
Macro, with-fbo: Exported macros
Macro, with-main: Internal macros
Macro, with-mapped-buffer: Exported macros
Macro, with-new-node: Exported macros
Macro, with-node: Exported macros
Macro, with-temporary-pbo: Exported macros
Macro, with-texture: Internal macros
Macro, with-uniforms: Exported macros
Macro, with-viewport: Internal macros
main-loop: Internal functions
make-box: Internal functions
make-color-texture: Exported generic functions
make-color-texture: Exported generic functions
make-cylinder: Internal functions
make-depth-texture: Exported generic functions
make-depth-texture: Exported generic functions
make-dummy-entity: Internal functions
make-frustum-transform: Exported functions
make-heightmap-entity: Internal functions
make-list-length: Internal functions
make-orthogonal-transform: Exported functions
make-pbo-for-texture: Exported generic functions
make-pbo-for-texture: Exported generic functions
make-perspective-transform: Exported functions
make-quad: Exported functions
make-quad-and-texture: Exported generic functions
make-quad-and-texture: Exported generic functions
make-quad-for-texture: Exported generic functions
make-quad-for-texture: Exported generic functions
make-quad-indices: Internal functions
make-quad-texture-coordinates: Internal functions
make-quad-vertexes: Internal functions
make-shader: Internal generic functions
make-shader: Internal generic functions
make-shader: Internal generic functions
make-shader: Internal generic functions
make-shareable-array: Internal generic functions
make-shareable-array: Internal generic functions
make-sphere: Internal functions
map-buffer: Exported generic functions
map-buffer: Exported generic functions
merge-hashes: Internal functions
Method, !0: Exported generic functions
Method, !<: Exported generic functions
Method, !<: Exported generic functions
Method, !<: Exported generic functions
Method, !>: Exported generic functions
Method, !>: Exported generic functions
Method, !>: Exported generic functions
Method, !r0: Exported generic functions
Method, !s0: Exported generic functions
Method, !t0: Exported generic functions
Method, (setf !>): Exported generic functions
Method, (setf animation): Exported generic functions
Method, (setf attribute): Exported generic functions
Method, (setf bones): Internal generic functions
Method, (setf changed?): Exported generic functions
Method, (setf children): Exported generic functions
Method, (setf clear-color): Exported generic functions
Method, (setf color-attachment): Exported generic functions
Method, (setf current-time): Internal generic functions
Method, (setf data-format): Exported generic functions
Method, (setf depth-buffer): Exported generic functions
Method, (setf enabled): Exported generic functions
Method, (setf enabled): Exported generic functions
Method, (setf frames): Exported generic functions
Method, (setf height): Exported generic functions
Method, (setf indexes): Exported generic functions
Method, (setf internal-format): Internal generic functions
Method, (setf loaded?): Internal generic functions
Method, (setf loaded?): Internal generic functions
Method, (setf name): Exported generic functions
Method, (setf name): Exported generic functions
Method, (setf paused): Exported generic functions
Method, (setf qtype): Exported generic functions
Method, (setf qtype): Exported generic functions
Method, (setf qtype): Exported generic functions
Method, (setf repeat): Exported generic functions
Method, (setf repeat): Exported generic functions
Method, (setf rotation): Exported generic functions
Method, (setf run-length): Exported generic functions
Method, (setf run-length): Exported generic functions
Method, (setf run-speed): Exported generic functions
Method, (setf scaling): Exported generic functions
Method, (setf shader-program): Exported generic functions
Method, (setf shader-program-attribute): Internal generic functions
Method, (setf shader-program-uniform): Internal generic functions
Method, (setf target): Exported generic functions
Method, (setf tex-id): Exported generic functions
Method, (setf transform): Exported generic functions
Method, (setf translation): Exported generic functions
Method, (setf uniform): Exported generic functions
Method, (setf usage): Exported generic functions
Method, (setf usage): Exported generic functions
Method, (setf width): Exported generic functions
Method, (setf x): Exported generic functions
Method, (setf y): Exported generic functions
Method, add-child: Exported generic functions
Method, add-color-buffer: Internal generic functions
Method, add-finalizer: Internal generic functions
Method, animation: Exported generic functions
Method, attach-shader: Internal generic functions
Method, attach-uniform: Exported generic functions
Method, attach-uniform: Exported generic functions
Method, attach-uniform: Exported generic functions
Method, attribute: Exported generic functions
Method, attributes: Exported generic functions
Method, bind: Exported generic functions
Method, bind: Exported generic functions
Method, bind: Exported generic functions
Method, bind: Exported generic functions
Method, bind-buffer-to-attribute-array: Exported generic functions
Method, bind-buffer-to-normal-array: Internal generic functions
Method, bind-buffer-to-vertex-array: Exported generic functions
Method, bind-sampler: Exported generic functions
Method, bind-static-values-to-attribute: Exported generic functions
Method, bones: Internal generic functions
Method, build-shader-program: Internal generic functions
Method, build-shader-program: Internal generic functions
Method, changed?: Exported generic functions
Method, children: Exported generic functions
Method, clear-color: Exported generic functions
Method, color-attachment: Exported generic functions
Method, color-attachments: Internal generic functions
Method, current-time: Internal generic functions
Method, current-transform: Internal generic functions
Method, data-format: Exported generic functions
Method, data-from-list: Internal generic functions
Method, data-from-pointer: Exported generic functions
Method, data-from-pointer: Exported generic functions
Method, delete-entity: Internal generic functions
Method, depth-buffer: Exported generic functions
Method, detach-shader: Internal generic functions
Method, draw-with-index-buffer: Exported generic functions
Method, draw-with-ranged-index-buffer: Exported generic functions
Method, enabled: Exported generic functions
Method, enabled: Exported generic functions
Method, find-shader-attributes: Internal generic functions
Method, find-shader-uniforms: Internal generic functions
Method, frames: Exported generic functions
Method, get-animation-time: Exported generic functions
Method, get-animation-time: Exported generic functions
Method, get-animation-time: Exported generic functions
Method, get-animation-time: Exported generic functions
Method, get-animation-time: Exported generic functions
Method, get-attribute-id: Exported generic functions
Method, get-attribute-id: Exported generic functions
Method, get-keyframe: Exported generic functions
Method, get-keyframe: Exported generic functions
Method, get-keyframe: Exported generic functions
Method, get-keyframe: Exported generic functions
Method, get-keyframe: Exported generic functions
Method, get-size: Exported generic functions
Method, get-size: Exported generic functions
Method, get-uniform-id: Exported generic functions
Method, get-uniform-id: Exported generic functions
Method, height: Exported generic functions
Method, height: Exported generic functions
Method, id: Exported generic functions
Method, id: Exported generic functions
Method, id: Exported generic functions
Method, id: Exported generic functions
Method, indexes: Exported generic functions
Method, internal-format: Internal generic functions
Method, key: Internal generic functions
Method, key: Internal generic functions
Method, key: Internal generic functions
Method, key: Internal generic functions
Method, key: Internal generic functions
Method, key: Internal generic functions
Method, list-raw-shader-attributes: Internal generic functions
Method, list-shader-attributes: Internal generic functions
Method, list-shader-uniforms: Internal generic functions
Method, loaded?: Internal generic functions
Method, loaded?: Internal generic functions
Method, make-color-texture: Exported generic functions
Method, make-depth-texture: Exported generic functions
Method, make-pbo-for-texture: Exported generic functions
Method, make-quad-and-texture: Exported generic functions
Method, make-quad-for-texture: Exported generic functions
Method, make-shader: Internal generic functions
Method, make-shader: Internal generic functions
Method, make-shader: Internal generic functions
Method, make-shareable-array: Internal generic functions
Method, map-buffer: Exported generic functions
Method, mode: Internal generic functions
Method, n*: Exported generic functions
Method, n*: Exported generic functions
Method, n*: Exported generic functions
Method, n*: Exported generic functions
Method, name: Exported generic functions
Method, name: Exported generic functions
Method, name: Exported generic functions
Method, name: Exported generic functions
Method, node-top-map: Internal generic functions
Method, node-top-map-string: Internal generic functions
Method, pause: Exported generic functions
Method, paused: Exported generic functions
Method, play: Exported generic functions
Method, program: Exported generic functions
Method, pullg: Exported generic functions
Method, pullg: Exported generic functions
Method, pullg: Exported generic functions
Method, pushg: Exported generic functions
Method, pushg: Exported generic functions
Method, pushg: Exported generic functions
Method, qtype: Exported generic functions
Method, qtype: Exported generic functions
Method, qtype: Exported generic functions
Method, quick-set: Exported generic functions
Method, ray-entity-intersect?: Exported generic functions
Method, remove-child: Exported generic functions
Method, remove-shader-program-attribute: Internal generic functions
Method, remove-shader-program-uniform: Internal generic functions
Method, render: Exported generic functions
Method, render: Exported generic functions
Method, render: Exported generic functions
Method, render: Exported generic functions
Method, render: Exported generic functions
Method, repeat: Exported generic functions
Method, repeat: Exported generic functions
Method, reset: Internal generic functions
Method, reset-rotation: Internal generic functions
Method, reset-scaling: Internal generic functions
Method, reset-translation: Internal generic functions
Method, resize: Exported generic functions
Method, rotate: Exported generic functions
Method, rotation: Exported generic functions
Method, rotation-matrix: Internal generic functions
Method, run-length: Exported generic functions
Method, run-length: Exported generic functions
Method, run-speed: Exported generic functions
Method, scale: Exported generic functions
Method, scale-matrix: Internal generic functions
Method, scaling: Exported generic functions
Method, set-texture-color: Exported generic functions
Method, shader-attributes: Internal generic functions
Method, shader-compile: Exported generic functions
Method, shader-program: Exported generic functions
Method, shader-program-attribute: Internal generic functions
Method, shader-program-attributes: Internal generic functions
Method, shader-program-uniform: Internal generic functions
Method, shader-program-uniforms: Internal generic functions
Method, shader-source: Exported generic functions
Method, shader-type: Internal generic functions
Method, shader-uniforms: Internal generic functions
Method, size-in-bytes: Exported generic functions
Method, size-in-bytes: Exported generic functions
Method, skip: Exported generic functions
Method, stencil-attachments: Internal generic functions
Method, stop: Exported generic functions
Method, stride: Exported generic functions
Method, stride: Exported generic functions
Method, stride: Exported generic functions
Method, target: Exported generic functions
Method, target: Exported generic functions
Method, target: Exported generic functions
Method, tex-id: Exported generic functions
Method, transform: Exported generic functions
Method, translate: Exported generic functions
Method, translation: Exported generic functions
Method, translation-matrix: Internal generic functions
Method, traverse-node: Exported generic functions
Method, unbind: Exported generic functions
Method, unbind: Exported generic functions
Method, unbind: Exported generic functions
Method, unbind-buffer-attribute-array: Internal generic functions
Method, unbind-normal-array: Internal generic functions
Method, unbind-vertex-array: Internal generic functions
Method, uniform: Exported generic functions
Method, uniforms: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unload: Exported generic functions
Method, unmap-buffer: Exported generic functions
Method, update: Exported generic functions
Method, update: Exported generic functions
Method, update: Exported generic functions
Method, usage: Exported generic functions
Method, usage: Exported generic functions
Method, use-shader-program: Exported generic functions
Method, vertex-count: Exported generic functions
Method, vertex-count: Exported generic functions
Method, walk-node-tree: Exported generic functions
Method, walk-node-tree: Exported generic functions
Method, width: Exported generic functions
Method, width: Exported generic functions
Method, x: Exported generic functions
Method, y: Exported generic functions
midpoint: Internal functions
mode: Internal generic functions
mode: Internal generic functions

N
n*: Exported generic functions
n*: Exported generic functions
n*: Exported generic functions
n*: Exported generic functions
n*: Exported generic functions
name: Exported generic functions
name: Exported generic functions
name: Exported generic functions
name: Exported generic functions
name: Exported generic functions
node-top-map: Internal generic functions
node-top-map: Internal generic functions
node-top-map-string: Internal generic functions
node-top-map-string: Internal generic functions
normalize-for-3d: Internal functions

P
pause: Exported generic functions
pause: Exported generic functions
paused: Exported generic functions
paused: Exported generic functions
play: Exported generic functions
play: Exported generic functions
print-sdl-version: Internal functions
program: Exported generic functions
program: Exported generic functions
pullg: Exported generic functions
pullg: Exported generic functions
pullg: Exported generic functions
pullg: Exported generic functions
pushg: Exported generic functions
pushg: Exported generic functions
pushg: Exported generic functions
pushg: Exported generic functions

Q
qtype: Exported generic functions
qtype: Exported generic functions
qtype: Exported generic functions
qtype: Exported generic functions
quick-set: Exported generic functions
quick-set: Exported generic functions

R
r->d: Exported macros
radians->degrees: Exported macros
random-heightfield: Internal functions
ray-entity-intersect?: Exported generic functions
ray-entity-intersect?: Exported generic functions
ray-triangle-intersect?: Exported functions
ray-triangles-intersect: Internal functions
remove-child: Exported generic functions
remove-child: Exported generic functions
remove-dependent: Internal functions
remove-shader-program-attribute: Internal generic functions
remove-shader-program-attribute: Internal generic functions
remove-shader-program-uniform: Internal generic functions
remove-shader-program-uniform: Internal generic functions
remove-shader-value-suffix: Internal functions
remove-shader-value-type-suffix: Internal functions
remove-uncollected: Internal functions
render: Exported generic functions
render: Exported generic functions
render: Exported generic functions
render: Exported generic functions
render: Exported generic functions
render: Exported generic functions
repeat: Exported generic functions
repeat: Exported generic functions
repeat: Exported generic functions
reset: Internal generic functions
reset: Internal generic functions
reset-rotation: Internal generic functions
reset-rotation: Internal generic functions
reset-scaling: Internal generic functions
reset-scaling: Internal generic functions
reset-translation: Internal generic functions
reset-translation: Internal generic functions
resize: Exported generic functions
resize: Exported generic functions
rotate: Exported generic functions
rotate: Exported generic functions
rotation: Exported generic functions
rotation: Exported generic functions
rotation-matrix: Internal generic functions
rotation-matrix: Internal generic functions
run-length: Exported generic functions
run-length: Exported generic functions
run-length: Exported generic functions
run-speed: Exported generic functions
run-speed: Exported generic functions

S
scale: Exported generic functions
scale: Exported generic functions
scale-matrix: Internal generic functions
scale-matrix: Internal generic functions
scaling: Exported generic functions
scaling: Exported generic functions
separate: Internal functions
set-assoc-name: Internal functions
set-assoc-value: Internal functions
set-default-gl-options: Internal functions
set-point: Internal functions
set-point-by-index: Internal functions
set-texture-color: Exported generic functions
set-texture-color: Exported generic functions
shader-attributes: Internal generic functions
shader-attributes: Internal generic functions
shader-compile: Exported generic functions
shader-compile: Exported generic functions
shader-program: Exported generic functions
shader-program: Exported generic functions
shader-program-attribute: Internal generic functions
shader-program-attribute: Internal generic functions
shader-program-attributes: Internal generic functions
shader-program-attributes: Internal generic functions
shader-program-uniform: Internal generic functions
shader-program-uniform: Internal generic functions
shader-program-uniforms: Internal generic functions
shader-program-uniforms: Internal generic functions
shader-source: Exported generic functions
shader-source: Exported generic functions
shader-type: Internal generic functions
shader-type: Internal generic functions
shader-uniforms: Internal generic functions
shader-uniforms: Internal generic functions
size-in-bytes: Exported generic functions
size-in-bytes: Exported generic functions
size-in-bytes: Exported generic functions
skip: Exported generic functions
skip: Exported generic functions
split-keywords: Internal functions
stencil-attachments: Internal generic functions
stencil-attachments: Internal generic functions
stop: Exported generic functions
stop: Exported generic functions
stride: Exported generic functions
stride: Exported generic functions
stride: Exported generic functions
stride: Exported generic functions

T
target: Exported generic functions
target: Exported generic functions
target: Exported generic functions
target: Exported generic functions
tex-id: Exported generic functions
tex-id: Exported generic functions
topological-sort: Exported functions
transform: Exported generic functions
transform: Exported generic functions
transform-point: Exported functions
transform-points: Exported functions
transform-tree: Internal functions
translate: Exported generic functions
translate: Exported generic functions
translation: Exported generic functions
translation: Exported generic functions
translation-matrix: Internal generic functions
translation-matrix: Internal generic functions
traverse-node: Exported generic functions
traverse-node: Exported generic functions
tst: Internal functions

U
unbind: Exported generic functions
unbind: Exported generic functions
unbind: Exported generic functions
unbind: Exported generic functions
unbind-buffer-attribute-array: Internal generic functions
unbind-buffer-attribute-array: Internal generic functions
unbind-normal-array: Internal generic functions
unbind-normal-array: Internal generic functions
unbind-vertex-array: Internal generic functions
unbind-vertex-array: Internal generic functions
uniform: Exported generic functions
uniform: Exported generic functions
uniforms: Exported generic functions
uniforms: Exported generic functions
uninit: Exported functions
uninit-controllers: Internal functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload: Exported generic functions
unload-all-dependants: Internal functions
unload-all-uncollected: Exported functions
unload-dependent: Internal functions
unmap-buffer: Exported generic functions
unmap-buffer: Exported generic functions
unproject: Exported functions
update: Exported generic functions
update: Exported generic functions
update: Exported generic functions
update: Exported generic functions
update-swank: Internal functions
usage: Exported generic functions
usage: Exported generic functions
usage: Exported generic functions
use-shader-program: Exported generic functions
use-shader-program: Exported generic functions

V
vertex-count: Exported generic functions
vertex-count: Exported generic functions
vertex-count: Exported generic functions

W
walk-node-tree: Exported generic functions
walk-node-tree: Exported generic functions
walk-node-tree: Exported generic functions
width: Exported generic functions
width: Exported generic functions
width: Exported generic functions
with-attributes: Exported macros
with-fbo: Exported macros
with-main: Internal macros
with-mapped-buffer: Exported macros
with-new-node: Exported macros
with-node: Exported macros
with-temporary-pbo: Exported macros
with-texture: Internal macros
with-uniforms: Exported macros
with-viewport: Internal macros

X
x: Exported generic functions
x: Exported generic functions

Y
y: Exported generic functions
y: Exported generic functions

Jump to:   !   $   (   *   _  
A   B   C   D   E   F   G   H   I   K   L   M   N   P   Q   R   S   T   U   V   W   X   Y  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   H   I   K   L   M   N   P   R   S   T   U   V   W   X   Y  
Index Entry  Section

*
*context*: Exported special variables
*controllers*: Exported special variables
*current-shader-attributes*: Internal special variables
*current-shader-uniforms*: Internal special variables
*default-on-idle*: Exported special variables
*default-texture*: Internal special variables
*delta-ticks*: Exported special variables
*dependents*: Internal special variables
*entity*: Exported special variables
*fbo*: Exported special variables
*generic-shader-hash-table*: Internal special variables
*haptic*: Exported special variables
*identity-texture*: Internal special variables
*inited*: Internal special variables
*next*: Exported special variables
*node*: Exported special variables
*on-controller-added*: Exported special variables
*on-controller-axis-move*: Exported special variables
*on-controller-button-down*: Exported special variables
*on-controller-button-up*: Exported special variables
*on-controller-remapped*: Exported special variables
*on-controller-removed*: Exported special variables
*on-idle*: Exported special variables
*on-key-down*: Exported special variables
*on-key-up*: Exported special variables
*on-mouse-click*: Exported special variables
*on-mouse-double-click*: Exported special variables
*on-mouse-down*: Exported special variables
*on-mouse-move*: Exported special variables
*on-mouse-up*: Exported special variables
*on-mouse-wheel-move*: Exported special variables
*on-quit*: Exported special variables
*on-text-editing*: Exported special variables
*on-text-input*: Exported special variables
*on-window-close*: Exported special variables
*on-window-enter*: Exported special variables
*on-window-exposed*: Exported special variables
*on-window-focus-gained*: Exported special variables
*on-window-focus-lost*: Exported special variables
*on-window-hidden*: Exported special variables
*on-window-leave*: Exported special variables
*on-window-maximized*: Exported special variables
*on-window-minimized*: Exported special variables
*on-window-moved*: Exported special variables
*on-window-resized*: Exported special variables
*on-window-restored*: Exported special variables
*on-window-size-changed*: Exported special variables
*ortho-projection*: Exported special variables
*projection*: Exported special variables
*root*: Exported special variables
*running*: Internal special variables
*shaders->shader-programs*: Internal special variables
*startup-condition*: Internal special variables
*startup-lock*: Internal special variables
*texture*: Exported special variables
*ticks*: Exported special variables
*uncollected*: Exported special variables
*viewport*: Exported special variables
*window*: Exported special variables

+
+pi+: Exported constants

A
animation: Exported classes
attributes: Exported classes
attributes: Exported classes
attributes: Internal classes

B
bones: Exported classes

C
children: Exported classes
clear-color: Exported classes
color: Exported classes
color-attachment-0: Internal constants
Constant, +pi+: Exported constants
Constant, color-attachment-0: Internal constants
current-time: Exported classes
current-transform: Exported classes

D
data-format: Exported classes
depth: Exported classes

E
enabled: Exported classes
enabled: Exported classes

F
frames: Exported classes

H
height: Exported classes
height: Exported classes

I
id: Exported classes
id: Exported classes
id: Exported classes
id: Internal classes
indexes: Exported classes
internal-format: Exported classes

K
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Exported classes
key: Internal classes

L
last-update-time: Exported classes
loaded: Exported classes
loaded: Exported classes

M
mode: Exported classes

N
name: Exported classes
name: Exported classes
name: Exported classes
name: Internal classes

P
paused: Exported classes
program: Exported classes

R
r-matrix: Exported classes
repeat: Exported classes
repeat: Exported classes
rot: Exported classes
run-length: Exported classes
run-length: Exported classes
run-speed: Exported classes

S
s-matrix: Exported classes
scale: Exported classes
shader-program: Exported classes
shader-type: Internal classes
shader-type: Internal classes
shader-type: Internal classes
shader-type: Internal classes
Slot, animation: Exported classes
Slot, attributes: Exported classes
Slot, attributes: Exported classes
Slot, attributes: Internal classes
Slot, bones: Exported classes
Slot, children: Exported classes
Slot, clear-color: Exported classes
Slot, color: Exported classes
Slot, current-time: Exported classes
Slot, current-transform: Exported classes
Slot, data-format: Exported classes
Slot, depth: Exported classes
Slot, enabled: Exported classes
Slot, enabled: Exported classes
Slot, frames: Exported classes
Slot, height: Exported classes
Slot, height: Exported classes
Slot, id: Exported classes
Slot, id: Exported classes
Slot, id: Exported classes
Slot, id: Internal classes
Slot, indexes: Exported classes
Slot, internal-format: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Exported classes
Slot, key: Internal classes
Slot, last-update-time: Exported classes
Slot, loaded: Exported classes
Slot, loaded: Exported classes
Slot, mode: Exported classes
Slot, name: Exported classes
Slot, name: Exported classes
Slot, name: Exported classes
Slot, name: Internal classes
Slot, paused: Exported classes
Slot, program: Exported classes
Slot, r-matrix: Exported classes
Slot, repeat: Exported classes
Slot, repeat: Exported classes
Slot, rot: Exported classes
Slot, run-length: Exported classes
Slot, run-length: Exported classes
Slot, run-speed: Exported classes
Slot, s-matrix: Exported classes
Slot, scale: Exported classes
Slot, shader-program: Exported classes
Slot, shader-type: Internal classes
Slot, shader-type: Internal classes
Slot, shader-type: Internal classes
Slot, shader-type: Internal classes
Slot, stencil: Exported classes
Slot, stride: Exported classes
Slot, stride: Exported classes
Slot, stride: Exported classes
Slot, t-matrix: Exported classes
Slot, target: Exported classes
Slot, target: Exported classes
Slot, target: Exported classes
Slot, target: Internal classes
Slot, tex-id: Exported classes
Slot, trans: Exported classes
Slot, transform: Exported classes
Slot, type: Exported classes
Slot, type: Exported classes
Slot, type: Exported classes
Slot, uniforms: Exported classes
Slot, uniforms: Exported classes
Slot, uniforms: Internal classes
Slot, usage: Exported classes
Slot, usage: Exported classes
Slot, vertex-count: Exported classes
Slot, vertex-count: Exported classes
Slot, width: Exported classes
Slot, width: Exported classes
Slot, x: Exported classes
Slot, y: Exported classes
Special Variable, *context*: Exported special variables
Special Variable, *controllers*: Exported special variables
Special Variable, *current-shader-attributes*: Internal special variables
Special Variable, *current-shader-uniforms*: Internal special variables
Special Variable, *default-on-idle*: Exported special variables
Special Variable, *default-texture*: Internal special variables
Special Variable, *delta-ticks*: Exported special variables
Special Variable, *dependents*: Internal special variables
Special Variable, *entity*: Exported special variables
Special Variable, *fbo*: Exported special variables
Special Variable, *generic-shader-hash-table*: Internal special variables
Special Variable, *haptic*: Exported special variables
Special Variable, *identity-texture*: Internal special variables
Special Variable, *inited*: Internal special variables
Special Variable, *next*: Exported special variables
Special Variable, *node*: Exported special variables
Special Variable, *on-controller-added*: Exported special variables
Special Variable, *on-controller-axis-move*: Exported special variables
Special Variable, *on-controller-button-down*: Exported special variables
Special Variable, *on-controller-button-up*: Exported special variables
Special Variable, *on-controller-remapped*: Exported special variables
Special Variable, *on-controller-removed*: Exported special variables
Special Variable, *on-idle*: Exported special variables
Special Variable, *on-key-down*: Exported special variables
Special Variable, *on-key-up*: Exported special variables
Special Variable, *on-mouse-click*: Exported special variables
Special Variable, *on-mouse-double-click*: Exported special variables
Special Variable, *on-mouse-down*: Exported special variables
Special Variable, *on-mouse-move*: Exported special variables
Special Variable, *on-mouse-up*: Exported special variables
Special Variable, *on-mouse-wheel-move*: Exported special variables
Special Variable, *on-quit*: Exported special variables
Special Variable, *on-text-editing*: Exported special variables
Special Variable, *on-text-input*: Exported special variables
Special Variable, *on-window-close*: Exported special variables
Special Variable, *on-window-enter*: Exported special variables
Special Variable, *on-window-exposed*: Exported special variables
Special Variable, *on-window-focus-gained*: Exported special variables
Special Variable, *on-window-focus-lost*: Exported special variables
Special Variable, *on-window-hidden*: Exported special variables
Special Variable, *on-window-leave*: Exported special variables
Special Variable, *on-window-maximized*: Exported special variables
Special Variable, *on-window-minimized*: Exported special variables
Special Variable, *on-window-moved*: Exported special variables
Special Variable, *on-window-resized*: Exported special variables
Special Variable, *on-window-restored*: Exported special variables
Special Variable, *on-window-size-changed*: Exported special variables
Special Variable, *ortho-projection*: Exported special variables
Special Variable, *projection*: Exported special variables
Special Variable, *root*: Exported special variables
Special Variable, *running*: Internal special variables
Special Variable, *shaders->shader-programs*: Internal special variables
Special Variable, *startup-condition*: Internal special variables
Special Variable, *startup-lock*: Internal special variables
Special Variable, *texture*: Exported special variables
Special Variable, *ticks*: Exported special variables
Special Variable, *uncollected*: Exported special variables
Special Variable, *viewport*: Exported special variables
Special Variable, *window*: Exported special variables
Special Variable, v0: Internal special variables
Special Variable, v20: Internal special variables
Special Variable, v2i: Internal special variables
Special Variable, vi: Internal special variables
stencil: Exported classes
stride: Exported classes
stride: Exported classes
stride: Exported classes

T
t-matrix: Exported classes
target: Exported classes
target: Exported classes
target: Exported classes
target: Internal classes
tex-id: Exported classes
trans: Exported classes
transform: Exported classes
type: Exported classes
type: Exported classes
type: Exported classes

U
uniforms: Exported classes
uniforms: Exported classes
uniforms: Internal classes
usage: Exported classes
usage: Exported classes

V
v0: Internal special variables
v20: Internal special variables
v2i: Internal special variables
vertex-count: Exported classes
vertex-count: Exported classes
vi: Internal special variables

W
width: Exported classes
width: Exported classes

X
x: Exported classes

Y
y: Exported classes

Jump to:   *   +  
A   B   C   D   E   F   H   I   K   L   M   N   P   R   S   T   U   V   W   X   Y  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   2  
A   B   C   E   F   G   I   N   P   S   T   V  
Index Entry  Section

2
2d-node: Internal classes

A
animation: Exported classes
animator: Exported classes

B
buffer: Exported classes

C
Class, 2d-node: Internal classes
Class, animation: Exported classes
Class, animator: Exported classes
Class, buffer: Exported classes
Class, entity: Exported classes
Class, fragment-shader: Internal classes
Class, frame-buffer: Exported classes
Class, geometry-shader: Internal classes
Class, index-buffer: Exported classes
Class, node: Exported classes
Class, pixel-buffer: Internal classes
Class, shader: Internal classes
Class, shader-program: Exported classes
Class, texture: Exported classes
Class, vertex-shader: Internal classes
Class, viewport: Exported classes
clinch: The clinch system
clinch: The clinch package

E
entity: Exported classes

F
fragment-shader: Internal classes
frame-buffer: Exported classes

G
geometry-shader: Internal classes

I
index-buffer: Exported classes

N
node: Exported classes

P
Package, clinch: The clinch package
pixel-buffer: Internal classes

S
shader: Internal classes
shader-program: Exported classes
System, clinch: The clinch system

T
texture: Exported classes

V
vertex-shader: Internal classes
viewport: Exported classes

Jump to:   2  
A   B   C   E   F   G   I   N   P   S   T   V