The clinch Reference Manual

This is the clinch Reference Manual, version 0.5, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 15:59:43 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 clinch

An OpenGL Game Engine.

Author

Brad Beer (WarWeasle)

License

MIT

Version

0.5

Dependencies
  • cl-opengl (system).
  • trivial-garbage (system).
  • bordeaux-threads (system).
  • trivial-channels (system).
  • sdl2 (system).
  • rtg-math (system).
  • swank (system).
Source

clinch.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 clinch/clinch.asd

Source

clinch.asd.

Parent Component

clinch (system).

ASDF Systems

clinch.


3.1.2 clinch/package.lisp

Source

clinch.asd.

Parent Component

clinch (system).

Packages

clinch.


3.1.3 clinch/threads.lisp

Dependency

package.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Internals
  • $ (macro).
  • $> (function).

3.1.4 clinch/clinch.lisp

Dependency

threads.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.5 clinch/transform.lisp

Dependency

clinch.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.6 clinch/node.lisp

Dependency

transform.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.7 clinch/shaders.lisp

Dependency

node.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.8 clinch/shader-program.lisp

Dependency

shaders.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.10 clinch/buffer.lisp

Dependency

default-shaders.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.11 clinch/index-buffer.lisp

Dependency

buffer.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.12 clinch/pixel-buffer.lisp

Dependency

index-buffer.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Internals

pixel-buffer (class).


3.1.13 clinch/texture.lisp

Dependency

pixel-buffer.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.14 clinch/2d-node.lisp

Dependency

texture.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Internals
  • 2d-node (class).
  • v20 (special variable).
  • v2i (special variable).

3.1.15 clinch/entity.lisp

Dependency

2d-node.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.16 clinch/viewport.lisp

Dependency

entity.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

with-viewport (macro).


3.1.17 clinch/framebuffer.lisp

Dependency

viewport.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.18 clinch/animation.lisp

Dependency

framebuffer.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.19 clinch/window.lisp

Dependency

animation.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

3.1.20 clinch/shapes.lisp

Dependency

window.lisp (file).

Source

clinch.asd.

Parent Component

clinch (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 clinch

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Constants

Constant: +pi+

A single-float version of pi.

Package

clinch.

Source

transform.lisp.


5.1.2 Special variables

Special Variable: *context*

Global Opengl Contex object.

Package

clinch.

Source

clinch.lisp.

Special Variable: *controllers*

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

Package

clinch.

Source

window.lisp.

Special Variable: *default-on-idle*

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

Package

clinch.

Source

window.lisp.

Special Variable: *delta-ticks*

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

Package

clinch.

Source

window.lisp.

Special Variable: *entity*

The current entity

Package

clinch.

Source

clinch.lisp.

Special Variable: *fbo*

Current Frame Buffer Object.

Package

clinch.

Source

framebuffer.lisp.

Special Variable: *haptic*

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

Package

clinch.

Source

window.lisp.

Special Variable: *next*

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

Package

clinch.

Source

window.lisp.

Special Variable: *node*

Current default node.

Package

clinch.

Source

clinch.lisp.

Special Variable: *on-controller-added*

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

Package

clinch.

Source

window.lisp.

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.

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.

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.

Special Variable: *on-controller-remapped*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-controller-removed*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-idle*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-key-down*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-key-up*

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

Package

clinch.

Source

window.lisp.

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.

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

clinch.

Source

window.lisp.

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.

Special Variable: *on-mouse-move*

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

Package

clinch.

Source

window.lisp.

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.

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

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-quit*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-text-editing*

Called when editing text.

Package

clinch.

Source

window.lisp.

Special Variable: *on-text-input*

Call when text input happens.

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-close*

Called when window is closing. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-enter*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-exposed*

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

Package

clinch.

Source

window.lisp.

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

Called when window gains focus. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

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

Called when window loses focus. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-hidden*

Called when window is hidden. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-leave*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-maximized*

Called when window is maximized. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-minimized*

Called when window is minimized. Arguments (window timestamp)

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-moved*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-resized*

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

Package

clinch.

Source

window.lisp.

Special Variable: *on-window-restored*

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

Package

clinch.

Source

window.lisp.

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

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

Package

clinch.

Source

window.lisp.

Special Variable: *ortho-projection*

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

Package

clinch.

Source

clinch.lisp.

Special Variable: *projection*

Current default projection.

Package

clinch.

Source

clinch.lisp.

Special Variable: *root*

The default root node.

Package

clinch.

Source

node.lisp.

Special Variable: *texture*

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

Package

clinch.

Source

clinch.lisp.

Special Variable: *ticks*

Time elapsed since (init) in milliseconds.

Package

clinch.

Source

window.lisp.

Special Variable: *uncollected*

Weak hash of loaded OpenGL objects.

Package

clinch.

Source

clinch.lisp.

Special Variable: *viewport*

Current viewport object.

Package

clinch.

Source

clinch.lisp.

Special Variable: *window*

Global window object.

Package

clinch.

Source

clinch.lisp.


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.

Macro: !! (&body body)

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

Package

clinch.

Source

clinch.lisp.

Macro: !r (this w x y z &optional in-place)
Package

clinch.

Source

node.lisp.

Macro: !s (this x y z &optional in-place)
Package

clinch.

Source

node.lisp.

Macro: !t (this x y z &optional in-place)
Package

clinch.

Source

node.lisp.

Macro: d->r (degrees)

Converts degrees to radians.

Package

clinch.

Source

transform.lisp.

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.

Macro: degrees->radians (degrees)

Converts degrees to radians.

Package

clinch.

Source

transform.lisp.

Macro: ensure-float (x)

Coerce a number to a single-float.

Package

clinch.

Source

transform.lisp.

Macro: r->d (radians)

Converts radians to degrees.

Package

clinch.

Source

transform.lisp.

Macro: radians->degrees (radians)

Converts radians to degrees.

Package

clinch.

Source

transform.lisp.

Macro: with-attributes (args this &body body)
Package

clinch.

Source

entity.lisp.

Macro: with-fbo ((fbo) &body body)

Convenience macro for useing and resetting an FBO.

Package

clinch.

Source

framebuffer.lisp.

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.

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.

Macro: with-node ((node) &body body)

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

Package

clinch.

Source

node.lisp.

Macro: with-temporary-pbo ((var texture &key usage target) &body body)

Creates a temporary pixel buffer for a texture.

Package

clinch.

Source

texture.lisp.

Macro: with-uniforms (args this &body body)
Package

clinch.

Source

entity.lisp.


5.1.4 Ordinary functions

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

clinch.

Source

window.lisp.

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.

Function: get-default-texture ()
Package

clinch.

Source

shapes.lisp.

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

clinch.

Source

default-shaders.lisp.

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

clinch.

Source

default-shaders.lisp.

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

clinch.

Source

default-shaders.lisp.

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

clinch.

Source

default-shaders.lisp.

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

clinch.

Source

default-shaders.lisp.

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.

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.

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.

Function: get-screen-direction (lens-1)

Gets the direction from the middle of the screen.

Package

clinch.

Source

transform.lisp.

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.

Function: make-frustum-transform (left right bottom top near far)

Create a raw CFFI frustum matrix.

Package

clinch.

Source

transform.lisp.

Function: make-orthogonal-transform (width height near far)

Create a raw CFFI orthogonal matrix.

Package

clinch.

Source

transform.lisp.

Function: make-perspective-transform (fovy aspect znear zfar)

Create a raw CFFI perspective matrix.

Package

clinch.

Source

transform.lisp.

Function: make-quad (width height &key center shader-program texture parent)

Creates a quad entity of width and height.

Package

clinch.

Source

shapes.lisp.

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.

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.

Function: transform-point (p m)
Package

clinch.

Source

transform.lisp.

Function: transform-points (points matrix)
Package

clinch.

Source

transform.lisp.

Function: uninit ()
Package

clinch.

Source

window.lisp.

Function: unload-all-uncollected ()

Unloads all loaded OpenGL objects.

Package

clinch.

Source

clinch.lisp.

Function: unproject (x y width height inv-transform)

Unproject from the screen to transform space.

Package

clinch.

Source

transform.lisp.


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.

Alias for

reset.

Generic Function: !< (this data &key)
Package

clinch.

Alias for

pushg.

Generic Function: !> (this &key data-format index offset size)
Package

clinch.

Alias for

pullg.

Generic Function: (setf !>) (this)
Package

clinch.

Methods
Method: (setf !>) ((this buffer))
Source

buffer.lisp.

Generic Function: !r0 (this)

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

Package

clinch.

Alias for

reset-rotation.

Generic Function: !s0 (this)

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

Package

clinch.

Alias for

reset-scaling.

Generic Function: !t0 (this)

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

Package

clinch.

Alias for

reset-translation.

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.

Generic Reader: animation (object)
Package

clinch.

Methods
Reader Method: animation ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

animation.

Generic Writer: (setf animation) (object)
Package

clinch.

Methods
Writer Method: (setf animation) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

animation.

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.

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.

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.

Generic Function: attribute (this name)
Package

clinch.

Methods
Method: attribute ((this entity) name)

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

Source

entity.lisp.

Generic Function: (setf attribute) (this name)
Package

clinch.

Methods
Method: (setf attribute) ((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.

Generic Reader: attributes (object)
Package

clinch.

Methods
Reader Method: attributes ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

attributes.

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.

Method: bind ((this frame-buffer) &key)

Wrapper around glBindFrameBuffer. Puts the Framebuffer into play.

Source

framebuffer.lisp.

Method: bind ((this texture) &key)

Wrapper around glBindBuffer. Puts the texture into play.

Source

texture.lisp.

Method: bind ((this buffer) &key index offset length)

Wrapper around glBindBuffer. Binds this buffer for use.

Source

buffer.lisp.

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.

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.

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.

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.

Generic Function: changed? (this)
Package

clinch.

Methods
Method: changed? ((this node))

Has this node changed and not updated?

Source

node.lisp.

Generic Function: (setf changed?) (this)
Package

clinch.

Methods
Method: (setf changed?) ((this node))

Set this node to update later.

Source

node.lisp.

Generic Reader: children (object)
Package

clinch.

Methods
Reader Method: children ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

children.

Generic Writer: (setf children) (object)
Package

clinch.

Methods
Writer Method: (setf children) ((node node))

automatically generated writer method

Source

node.lisp.

Target Slot

children.

Generic Reader: clear-color (object)
Package

clinch.

Methods
Reader Method: clear-color ((viewport viewport))

automatically generated reader method

Source

viewport.lisp.

Target Slot

clear-color.

Generic Writer: (setf clear-color) (object)
Package

clinch.

Methods
Writer Method: (setf clear-color) ((viewport viewport))

automatically generated writer method

Source

viewport.lisp.

Target Slot

clear-color.

Generic Function: color-attachment (this name)
Package

clinch.

Methods
Method: color-attachment ((this frame-buffer) name)

Returns a color-attachment by number.

Source

framebuffer.lisp.

Generic Function: (setf color-attachment) (this name)
Package

clinch.

Methods
Method: (setf color-attachment) ((this frame-buffer) name)

Sets an attachment’s number

Source

framebuffer.lisp.

Generic Reader: data-format (object)
Package

clinch.

Methods
Reader Method: data-format ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

data-format.

Generic Writer: (setf data-format) (object)
Package

clinch.

Methods
Writer Method: (setf data-format) ((texture texture))

automatically generated writer method

Source

texture.lisp.

Target Slot

data-format.

Generic Function: data-from-pointer (this pointer)
Package

clinch.

Methods
Method: data-from-pointer ((this texture) pointer)
Source

texture.lisp.

Method: data-from-pointer ((this buffer) pointer)
Source

buffer.lisp.

Generic Reader: depth-buffer (object)
Package

clinch.

Methods
Reader Method: depth-buffer ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

depth.

Generic Function: (setf depth-buffer) (this)
Package

clinch.

Methods
Method: (setf depth-buffer) ((this frame-buffer))

Binds the depth buffer for use.

Source

framebuffer.lisp.

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.

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.

Generic Reader: enabled (object)
Package

clinch.

Methods
Reader Method: enabled ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

enabled.

Reader Method: enabled ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

enabled.

Generic Writer: (setf enabled) (object)
Package

clinch.

Methods
Writer Method: (setf enabled) ((entity entity))

automatically generated writer method

Source

entity.lisp.

Target Slot

enabled.

Writer Method: (setf enabled) ((node node))

automatically generated writer method

Source

node.lisp.

Target Slot

enabled.

Generic Reader: frames (object)
Package

clinch.

Methods
Reader Method: frames ((animation animation))

automatically generated reader method

Source

animation.lisp.

Target Slot

frames.

Generic Writer: (setf frames) (object)
Package

clinch.

Methods
Writer Method: (setf frames) ((animation animation))

automatically generated writer method

Source

animation.lisp.

Target Slot

frames.

Generic Function: get-animation-time (this)
Package

clinch.

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

animation.lisp.

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

animation.lisp.

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

animation.lisp.

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

animation.lisp.

Method: get-animation-time (this)
Source

animation.lisp.

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.

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.

Generic Function: get-keyframe (this time &key)
Package

clinch.

Methods
Method: get-keyframe ((this animator) time &key)
Source

animation.lisp.

Method: get-keyframe ((this animation) (time number) &key)
Source

animation.lisp.

Method: get-keyframe ((this vector) (time number) &key)
Source

animation.lisp.

Method: get-keyframe ((this list) (time number) &key)
Source

animation.lisp.

Method: get-keyframe (this time &key)
Source

animation.lisp.

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.

Method: get-size ((this buffer) &key)

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

Source

buffer.lisp.

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.

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.

Generic Reader: height (object)
Package

clinch.

Methods
Reader Method: height ((this viewport))

Get the viewport height.

Source

viewport.lisp.

Target Slot

height.

Reader Method: height ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

height.

Generic Writer: (setf height) (object)
Package

clinch.

Methods
Writer Method: (setf height) ((this viewport))

Set the viewport height.

Source

viewport.lisp.

Target Slot

height.

Generic Reader: id (object)
Package

clinch.

Methods
Reader Method: id ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

id.

Reader Method: id ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

id.

Reader Method: id ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

id.

Reader Method: id ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

id.

Generic Reader: indexes (object)
Package

clinch.

Methods
Reader Method: indexes ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

indexes.

Generic Function: (setf indexes) (this)
Package

clinch.

Methods
Method: (setf indexes) ((this entity))

Sets the index array.

Source

entity.lisp.

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.

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.

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.

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.

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.

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.

Generic Function: n* (this that &key new-node)

Multiplies nodes and matrix transforms.

Package

clinch.

Source

node.lisp.

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 Reader: name (object)
Package

clinch.

Methods
Reader Method: name ((animation animation))

automatically generated reader method

Source

animation.lisp.

Target Slot

name.

Reader Method: name ((shader-program shader-program))

automatically generated reader method

Source

shader-program.lisp.

Target Slot

name.

Reader Method: name ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

name.

Reader Method: name ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

name.

Generic Writer: (setf name) (object)
Package

clinch.

Methods
Writer Method: (setf name) ((animation animation))

automatically generated writer method

Source

animation.lisp.

Target Slot

name.

Writer Method: (setf name) ((node node))

automatically generated writer method

Source

node.lisp.

Target Slot

name.

Generic Function: pause (this &key)
Package

clinch.

Source

animation.lisp.

Methods
Method: pause ((this animator) &key)
Generic Reader: paused (object)
Package

clinch.

Methods
Reader Method: paused ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

paused.

Generic Writer: (setf paused) (object)
Package

clinch.

Methods
Writer Method: (setf paused) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

paused.

Generic Function: play (this &key)
Package

clinch.

Source

animation.lisp.

Methods
Method: play ((this animator) &key)
Generic Reader: program (object)
Package

clinch.

Methods
Reader Method: program ((shader-program shader-program))

automatically generated reader method

Source

shader-program.lisp.

Target Slot

program.

Generic Function: pullg (this &key data-format index offset size)
Package

clinch.

Source

buffer.lisp.

Methods
Method: pullg ((tex texture) &key data-format)

Gets the texture data as a vector array.

Source

texture.lisp.

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.

Generic Function: pushg (this data &key)
Package

clinch.

Source

buffer.lisp.

Methods
Method: pushg ((tex texture) (data array) &key)

Sets the texture data from a vector array.

Source

texture.lisp.

Method: pushg ((this texture) (pbo pixel-buffer) &key)

Sets the texture data from a pixel buffer.

Source

texture.lisp.

Method: pushg ((this buffer) (data array) &key)

Sets the buffer data from a vector array.

Generic Reader: qtype (object)
Package

clinch.

Methods
Reader Method: qtype ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

type.

Reader Method: qtype ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

type.

Reader Method: qtype ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

type.

Generic Writer: (setf qtype) (object)
Package

clinch.

Methods
Writer Method: (setf qtype) ((texture texture))

automatically generated writer method

Source

texture.lisp.

Target Slot

type.

Writer Method: (setf qtype) ((index-buffer index-buffer))

automatically generated writer method

Source

index-buffer.lisp.

Target Slot

type.

Writer Method: (setf qtype) ((buffer buffer))

automatically generated writer method

Source

buffer.lisp.

Target Slot

type.

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.

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.

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.

Generic Function: render (this &key time projection parent)
Package

clinch.

Methods
Method: render ((this animator) &key time)
Source

animation.lisp.

Method: render ((this viewport) &key projection)

Makes this viewport active.

Source

viewport.lisp.

Method: render ((this entity) &key parent projection)

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

Source

entity.lisp.

Method: render ((this list) &key parent projection)

Render a list of rendables.

Source

node.lisp.

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.

Generic Reader: repeat (object)
Package

clinch.

Methods
Reader Method: repeat ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

repeat.

Reader Method: repeat ((animation animation))

automatically generated reader method

Source

animation.lisp.

Target Slot

repeat.

Generic Writer: (setf repeat) (object)
Package

clinch.

Methods
Writer Method: (setf repeat) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

repeat.

Writer Method: (setf repeat) ((animation animation))

automatically generated writer method

Source

animation.lisp.

Target Slot

repeat.

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.

Generic Function: rotate (this rot &key modify)

Rotate node. Shortcut is !r.

Package

clinch.

Source

node.lisp.

Methods
Method: rotate ((this node) rot &key modify)

Rotate the node. Takes a quaterion.

Generic Reader: rotation (object)
Package

clinch.

Methods
Reader Method: rotation ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

rot.

Generic Function: (setf rotation) (this)
Package

clinch.

Source

node.lisp.

Methods
Method: (setf rotation) ((this node))

Sets the rotation quaterion.

Generic Reader: run-length (object)
Package

clinch.

Methods
Reader Method: run-length ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

run-length.

Reader Method: run-length ((animation animation))

automatically generated reader method

Source

animation.lisp.

Target Slot

run-length.

Generic Writer: (setf run-length) (object)
Package

clinch.

Methods
Writer Method: (setf run-length) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

run-length.

Writer Method: (setf run-length) ((animation animation))

automatically generated writer method

Source

animation.lisp.

Target Slot

run-length.

Generic Reader: run-speed (object)
Package

clinch.

Methods
Reader Method: run-speed ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

run-speed.

Generic Writer: (setf run-speed) (object)
Package

clinch.

Methods
Writer Method: (setf run-speed) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

run-speed.

Generic Function: scale (this scale &key modify)

Scale node. Shortcut is !s.

Package

clinch.

Source

node.lisp.

Methods
Method: scale ((this node) size &key modify)

Scales a node. Takes a vector3.

Generic Reader: scaling (object)
Package

clinch.

Methods
Reader Method: scaling ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

scale.

Generic Function: (setf scaling) (this)
Package

clinch.

Source

node.lisp.

Methods
Method: (setf scaling) ((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.

Generic Function: shader-compile (this &key code defs undefs)
Package

clinch.

Methods
Method: shader-compile ((this shader) &key code defs undefs)
Source

shaders.lisp.

Generic Reader: shader-program (object)
Package

clinch.

Methods
Reader Method: shader-program ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

shader-program.

Generic Function: (setf shader-program) (this)
Package

clinch.

Methods
Method: (setf shader-program) ((this entity))

Sets the shader-program to use.

Source

entity.lisp.

Generic Function: shader-source (this)
Package

clinch.

Methods
Method: shader-source ((this shader))
Source

shaders.lisp.

Generic Function: (setf shader-source) (this)
Package

clinch.

Methods
Method: (setf shader-source) ((this shader))
Source

shaders.lisp.

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.

Method: size-in-bytes ((this buffer))

Calculates how many bytes this buffer consists of.

Source

buffer.lisp.

Generic Function: skip (this position &key)
Package

clinch.

Source

animation.lisp.

Methods
Method: skip ((this animator) position &key)
Generic Function: stop (this &key)
Package

clinch.

Source

animation.lisp.

Methods
Method: stop ((this animator) &key)
Generic Reader: stride (object)
Package

clinch.

Methods
Reader Method: stride ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

stride.

Reader Method: stride ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

stride.

Reader Method: stride ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

stride.

Generic Reader: target (object)
Package

clinch.

Methods
Reader Method: target ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

target.

Reader Method: target ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

target.

Reader Method: target ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

target.

Generic Writer: (setf target) (object)
Package

clinch.

Methods
Writer Method: (setf target) ((frame-buffer frame-buffer))

automatically generated writer method

Source

framebuffer.lisp.

Target Slot

target.

Generic Reader: tex-id (object)
Package

clinch.

Methods
Reader Method: tex-id ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

tex-id.

Generic Writer: (setf tex-id) (object)
Package

clinch.

Methods
Writer Method: (setf tex-id) ((texture texture))

automatically generated writer method

Source

texture.lisp.

Target Slot

tex-id.

Generic Function: transform (this &key)

get the entire transform.

Package

clinch.

Source

node.lisp.

Methods
Method: transform ((this node) &key)

Gets the transform matrix.

Generic Function: (setf transform) (this)
Package

clinch.

Methods
Method: (setf transform) ((this node))
Source

node.lisp.

Generic Function: translate (this trans &key modify)

Translate node. Shortcut is !t.

Package

clinch.

Source

node.lisp.

Methods
Method: translate ((this node) trans &key modify)

Translate the node. Takes a vector3.

Generic Reader: translation (object)
Package

clinch.

Methods
Reader Method: translation ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

trans.

Generic Function: (setf translation) (this)
Package

clinch.

Source

node.lisp.

Methods
Method: (setf translation) ((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.

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.

Method: unbind ((this texture) &key)

Unbinds the texture.

Source

texture.lisp.

Method: unbind ((this buffer) &key)

Wrapper around glBindBuffer with buffer 0, or no buffer.

Source

buffer.lisp.

Generic Function: uniform (this name)
Package

clinch.

Methods
Method: uniform ((this entity) name)

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

Source

entity.lisp.

Generic Function: (setf uniform) (this name)
Package

clinch.

Methods
Method: (setf uniform) ((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.

Generic Reader: uniforms (object)
Package

clinch.

Methods
Reader Method: uniforms ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

uniforms.

Generic Function: unload (this &key all)

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

Package

clinch.

Source

clinch.lisp.

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

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

Source

framebuffer.lisp.

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.

Method: unload ((this texture) &key)

Unloads the texture. Also cancels gc finalization.

Source

texture.lisp.

Method: unload ((this buffer) &key)

Release buffer resources.

Source

buffer.lisp.

Method: unload ((this shader-program) &key)

Unloads and releases all shader-program resources.

Source

shader-program.lisp.

Method: unload ((this shader) &key)

Unloads and releases the shader.

Source

shaders.lisp.

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.

Generic Function: update (this &key time parent matrix force projection)
Package

clinch.

Methods
Method: update ((this animator) &key time)
Source

animation.lisp.

Method: update ((this entity) &key parent matrix force)
Source

entity.lisp.

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.

Generic Reader: usage (object)
Package

clinch.

Methods
Reader Method: usage ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

usage.

Reader Method: usage ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

usage.

Generic Writer: (setf usage) (object)
Package

clinch.

Methods
Writer Method: (setf usage) ((index-buffer index-buffer))

automatically generated writer method

Source

index-buffer.lisp.

Target Slot

usage.

Writer Method: (setf usage) ((buffer buffer))

automatically generated writer method

Source

buffer.lisp.

Target Slot

usage.

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.

Generic Reader: vertex-count (object)
Package

clinch.

Methods
Reader Method: vertex-count ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

vertex-count.

Reader Method: vertex-count ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

vertex-count.

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.

Method: walk-node-tree (this f &key test non-node)
Source

node.lisp.

Generic Reader: width (object)
Package

clinch.

Methods
Reader Method: width ((this viewport))

Get viewport width.

Source

viewport.lisp.

Target Slot

width.

Reader Method: width ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

width.

Generic Writer: (setf width) (object)
Package

clinch.

Methods
Writer Method: (setf width) ((this viewport))

Set viewport width.

Source

viewport.lisp.

Target Slot

width.

Generic Reader: x (object)
Package

clinch.

Methods
Reader Method: x ((viewport viewport))

automatically generated reader method

Source

viewport.lisp.

Target Slot

x.

Generic Writer: (setf x) (object)
Package

clinch.

Methods
Writer Method: (setf x) ((viewport viewport))

automatically generated writer method

Source

viewport.lisp.

Target Slot

x.

Generic Reader: y (object)
Package

clinch.

Methods
Reader Method: y ((viewport viewport))

automatically generated reader method

Source

viewport.lisp.

Target Slot

y.

Generic Writer: (setf y) (object)
Package

clinch.

Methods
Writer Method: (setf y) ((viewport viewport))

automatically generated writer method

Source

viewport.lisp.

Target Slot

y.


5.1.6 Standalone methods

Method: initialize-instance :after ((this viewport) &key)

Creates a new viewport.

Source

viewport.lisp.

Method: initialize-instance :after ((this node) &key translation rotation scale copy matrix parent)

Creates a node with optional translation (vector3), rotation (quaterion) and scaling (vector3). Can also use another node or matrix to set its value. If a node and another value is give, the other value is used starting with the matrix.

Source

node.lisp.

Method: initialize-instance :after ((this buffer) &key data)

Sets up a buffer instance.
type: cffi type NOTE: Use the index buffer for indices.
id: OpenGL buffer id
vcount: vertex count (or number of tuples if not using vertexes)
stride: The number of items in each vertex (or each tuple.) NOTE: use 1 if you are creating an index buffer.
target: OpenGL buffer target. If you use this, think about subclassing. For more info lookup glBindBuffer().
NOTE: use :element-array-buffer if you are creating an index buffer.
usage: Tells OpenGL how often you wish to access the buffer.
loaded: Has data been put into the buffer. Buffers without data is just future storage, just be sure to set it before you use it. data: The data with which to fill the buffer. If data has a size, vcount does not need to be set.

Source

buffer.lisp.

Method: initialize-instance :after ((this entity) &key compile parent strict-index)

Creates an entity.
:parent adds itself to the given parent. The entity doesn’t keep track of its parent. (t means the root node) :indexes sets the index buffer. Required.
:mode sets what kind of object (triangle, square, etc) will be drawn. Only triangles are tested. :uniforms sets the uniform values as an alist.
:attributes sets the attribute values as an alist.
:shader-program sets the shader program.
:enabled sets if this entity will render.

Source

entity.lisp.

Method: initialize-instance :after ((this texture) &key pbo wrap-s wrap-t mag-filter min-filter depth-texture-mode texture-compare-mode texture-compare-function data)

Sets up a texture instance with gc finalizer. Do not depend on finalizers, release resources manually if you can.
type: cffi type NOTE: use :unsigned-int if you are creating an index buffer.
id: OpenGL buffer id
stride: The number of values in each pixel.
usage: Tells OpenGL how often you wish to access the buffer.
loaded: Has data been put into the buffer. Buffers without data is just future storage, just be sure to set it before you use it. format: The OpenGL Format of the Color Data. blue-green-red-alpha is default and prefered for simplicity.
wrap-s & wrap-t: Wrap texture vertical or horizontal.
mag-filter & min-filter: Magnification an minimization method.

Source

texture.lisp.

Method: initialize-instance :after ((this frame-buffer) &key color-attachments depth-attachment stencil-attachment)

Creates an FBO with optional color attachments, depth-attachements and stencil attachments.

Source

framebuffer.lisp.

Method: initialize-instance :after ((this shader-program) &key vertex-shader fragment-shader geometry-shader name attributes uniforms defines undefs delete-shaders)

Create the shader program. Currently there is no way to change the shader. You must make a new one.

Source

shader-program.lisp.

Method: initialize-instance :after ((this shader) &key code defs undefs)

Creates a shader.

Source

shaders.lisp.

Method: print-object ((this node) s)

Print function for node.

Source

node.lisp.

Method: print-object ((this entity) s)

Print function for node.

Source

entity.lisp.


5.1.7 Classes

Class: animation
Package

clinch.

Source

animation.lisp.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: frames
Initargs

:frames

Readers

frames.

Writers

(setf frames).

Slot: repeat
Initform

t

Initargs

:repeat

Readers

repeat.

Writers

(setf repeat).

Slot: run-length
Initargs

:run-length

Readers

run-length.

Writers

(setf run-length).

Class: animator
Package

clinch.

Source

animation.lisp.

Direct methods
Direct slots
Slot: animation
Initargs

:animation

Readers

animation.

Writers

(setf animation).

Slot: current-time
Initform

0

Initargs

:start

Readers

current-time.

Writers

(setf current-time).

Slot: paused
Initform

t

Initargs

:paused

Readers

paused.

Writers

(setf paused).

Slot: repeat
Initform

t

Initargs

:repeat

Readers

repeat.

Writers

(setf repeat).

Slot: run-speed
Initform

1

Initargs

:run-speed

Readers

run-speed.

Writers

(setf run-speed).

Slot: run-length
Initargs

:run-length

Readers

run-length.

Writers

(setf run-length).

Slot: last-update-time
Class: buffer

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

Package

clinch.

Source

buffer.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id.

Writers

This slot is read-only.

Slot: type
Package

common-lisp.

Initform

:float

Initargs

:qtype

Readers

qtype.

Writers

(setf qtype).

Slot: usage
Initform

:static-draw

Initargs

:usage

Readers

usage.

Writers

(setf usage).

Slot: stride
Initform

3

Initargs

:stride

Readers

stride.

Writers

This slot is read-only.

Slot: vertex-count
Initargs

:count

Readers

vertex-count.

Writers

This slot is read-only.

Slot: target
Initform

:array-buffer

Initargs

:target

Readers

target.

Writers

This slot is read-only.

Slot: loaded
Readers

loaded?.

Writers

(setf loaded?).

Slot: key
Initform

(gensym "buffer")

Readers

key.

Writers

This slot is read-only.

Class: entity

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

Package

clinch.

Source

entity.lisp.

Direct methods
Direct slots
Slot: shader-program
Initargs

:shader-program

Readers

shader-program.

Writers

This slot is read-only.

Slot: indexes
Initargs

:indexes

Readers

indexes.

Writers

This slot is read-only.

Slot: mode
Initform

:triangles

Initargs

:mode

Readers

mode.

Writers

This slot is read-only.

Slot: uniforms
Initargs

:uniforms

Readers

uniforms.

Writers

This slot is read-only.

Slot: attributes
Initargs

:attributes

Readers

attributes.

Writers

This slot is read-only.

Slot: bones
Initargs

:bones

Readers

bones.

Writers

(setf bones).

Slot: enabled
Initform

t

Initargs

:enabled

Readers

enabled.

Writers

(setf enabled).

Class: frame-buffer

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

Package

clinch.

Source

framebuffer.lisp.

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id.

Writers

This slot is read-only.

Slot: target
Initform

:draw-framebuffer

Initargs

:target

Readers

target.

Writers

(setf target).

Slot: color
Readers

color-attachments.

Writers

This slot is read-only.

Slot: depth
Initargs

:depth-buffer

Readers

depth-buffer.

Writers

This slot is read-only.

Slot: stencil
Readers

stencil-attachments.

Writers

This slot is read-only.

Slot: key
Initform

(gensym "framebuffer")

Readers

key.

Writers

This slot is read-only.

Class: index-buffer

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

Package

clinch.

Source

index-buffer.lisp.

Direct superclasses

buffer.

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id.

Writers

This slot is read-only.

Slot: type
Package

common-lisp.

Initform

:unsigned-int

Initargs

:qtype

Readers

qtype.

Writers

(setf qtype).

Slot: usage
Initform

:static-draw

Initargs

clinch:usage

Readers

usage.

Writers

(setf usage).

Slot: stride
Initform

1

Initargs

:stride

Readers

stride.

Writers

This slot is read-only.

Slot: vertex-count
Initargs

:count

Readers

vertex-count.

Writers

This slot is read-only.

Slot: target
Initform

:element-array-buffer

Initargs

:target

Readers

target.

Writers

This slot is read-only.

Slot: loaded
Readers

loaded?.

Writers

(setf loaded?).

Slot: key
Initform

(gensym "buffer")

Readers

key.

Writers

This slot is read-only.

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.

Direct subclasses

2d-node.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: trans
Initform

clinch::v0

Initargs

:translation

Readers

translation.

Writers

This slot is read-only.

Slot: rot
Initform

(rtg-math.quaternions:identity)

Initargs

:rotation

Readers

rotation.

Writers

This slot is read-only.

Slot: scale
Initform

clinch::vi

Initargs

:scale

Readers

scaling.

Writers

This slot is read-only.

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

current-transform.

Writers

This slot is read-only.

Slot: enabled
Initform

t

Initargs

:enabled

Readers

enabled.

Writers

(setf enabled).

Slot: children
Initargs

:children

Readers

children.

Writers

(setf children).

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.

Direct methods
Direct slots
Slot: name
Readers

name.

Writers

This slot is read-only.

Slot: program
Readers

program.

Writers

This slot is read-only.

Slot: attributes
Readers

shader-program-attributes.

Writers

This slot is read-only.

Slot: uniforms
Readers

shader-program-uniforms.

Writers

This slot is read-only.

Slot: key
Initform

(gensym "shader-program")

Readers

key.

Writers

This slot is read-only.

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.

Direct subclasses

2d-node.

Direct methods
Direct slots
Slot: tex-id
Initargs

:tex-id

Readers

tex-id.

Writers

(setf tex-id).

Slot: width
Initargs

:width

Readers

width.

Writers

This slot is read-only.

Slot: height
Initargs

:height

Readers

height.

Writers

This slot is read-only.

Slot: type
Package

common-lisp.

Initform

:unsigned-char

Initargs

:qtype

Readers

qtype.

Writers

(setf qtype).

Slot: internal-format
Initform

:rgba

Initargs

:internal-format

Readers

internal-format.

Writers

(setf internal-format).

Slot: data-format
Initform

:bgra

Initargs

:format

Readers

data-format.

Writers

(setf data-format).

Slot: stride
Initform

4

Initargs

:stride

Readers

stride.

Writers

This slot is read-only.

Slot: key
Initform

(gensym "texture")

Readers

key.

Writers

This slot is read-only.

Class: viewport

Creates a viewport.

Package

clinch.

Source

viewport.lisp.

Direct methods
Direct slots
Slot: x
Initform

0

Initargs

:x

Readers

x.

Writers

(setf x).

Slot: y
Initform

0

Initargs

:y

Readers

y.

Writers

(setf y).

Slot: width
Initform

0

Initargs

:width

Readers

width.

Writers

(setf width).

Slot: height
Initform

0

Initargs

:height

Readers

height.

Writers

(setf height).

Slot: clear-color
Initargs

:clear-color

Readers

clear-color.

Writers

(setf clear-color).


5.2 Internals


5.2.1 Constants

Constant: color-attachment-0
Package

clinch.

Source

framebuffer.lisp.


5.2.2 Special variables

Special Variable: *current-shader-attributes*
Package

clinch.

Source

clinch.lisp.

Special Variable: *current-shader-uniforms*
Package

clinch.

Source

clinch.lisp.

Special Variable: *default-texture*
Package

clinch.

Source

texture.lisp.

Special Variable: *dependents*

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

Package

clinch.

Source

clinch.lisp.

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

clinch.

Source

default-shaders.lisp.

Special Variable: *identity-texture*
Package

clinch.

Source

texture.lisp.

Special Variable: *inited*
Package

clinch.

Source

clinch.lisp.

Special Variable: *running*
Package

clinch.

Source

clinch.lisp.

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

clinch.

Source

clinch.lisp.

Special Variable: *startup-condition*
Package

clinch.

Source

window.lisp.

Special Variable: *startup-lock*
Package

clinch.

Source

window.lisp.

Special Variable: v0

A shortcut for the zero vector.

Package

clinch.

Source

node.lisp.

Special Variable: v20
Package

clinch.

Source

2d-node.lisp.

Special Variable: v2i
Package

clinch.

Source

2d-node.lisp.

Special Variable: vi

A shortcut to the identity vector

Package

clinch.

Source

node.lisp.


5.2.3 Macros

Macro: $ (&body body)
Package

clinch.

Source

threads.lisp.

Macro: average-vectors (&rest v)
Package

clinch.

Source

shapes.lisp.

Macro: clone-function (old new)
Package

clinch.

Source

clinch.lisp.

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.

Macro: define-default-shader (name)
Package

clinch.

Source

default-shaders.lisp.

Macro: fire (loc &rest args)
Package

clinch.

Source

window.lisp.

Macro: force-print (destination control-string &rest formal-arguments)
Package

clinch.

Source

window.lisp.

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.

Macro: with-texture ((tex) &body body)
Package

clinch.

Source

texture.lisp.

Macro: with-viewport ((vp) &body body)

A wrapper which sets and unsets a viewport.

Package

clinch.

Source

viewport.lisp.


5.2.4 Ordinary functions

Function: $> (thread)
Package

clinch.

Source

threads.lisp.

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.

Function: add-dependent (this dependent)
Package

clinch.

Source

clinch.lisp.

Function: add-uncollected (this)

Adds item to list of loaded OpenGL objects.

Package

clinch.

Source

clinch.lisp.

Function: cffi-type->gl-type (type)

Returns the buffer type as a cffi type.

Package

clinch.

Source

buffer.lisp.

Function: convert-non-buffer (this value &key projection parent)
Package

clinch.

Source

entity.lisp.

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

clinch.

Source

window.lisp.

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

clinch.

Source

shapes.lisp.

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

clinch.

Source

shapes.lisp.

Function: get-height-node-normal (arr x y w h)
Package

clinch.

Source

shapes.lisp.

Function: get-height-node-normals (arr w h)
Package

clinch.

Source

shapes.lisp.

Function: get-intersections (start direction iarray varray)
Package

clinch.

Source

clinch.lisp.

Function: get-middle-square-and-normal (arr x y w h)
Package

clinch.

Source

shapes.lisp.

Function: get-middle-squares-and-normals (arr w h)
Package

clinch.

Source

shapes.lisp.

Function: get-point (array i)
Package

clinch.

Source

clinch.lisp.

Function: get-point-by-index (points index)
Package

clinch.

Source

transform.lisp.

Function: get-point-or-vert (arr x y w h)
Package

clinch.

Source

shapes.lisp.

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

clinch.

Source

shapes.lisp.

Function: heightmap->buffers (arr w h)
Package

clinch.

Source

shapes.lisp.

Function: init-controllers ()
Package

clinch.

Source

window.lisp.

Function: main-loop (win gl-context w h &optional asynchronous)
Package

clinch.

Source

window.lisp.

Function: make-box ()
Package

clinch.

Source

shapes.lisp.

Function: make-cylinder (&optional sides)
Package

clinch.

Source

shapes.lisp.

Function: make-dummy-entity (num-points triangles &key texture)
Package

clinch.

Source

shapes.lisp.

Function: make-heightmap-entity (height-map w h &optional texture)
Package

clinch.

Source

shapes.lisp.

Function: make-list-length (len lst &optional fill-value)
Package

clinch.

Source

clinch.lisp.

Function: make-quad-indices ()
Package

clinch.

Source

shapes.lisp.

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

clinch.

Source

shapes.lisp.

Function: make-quad-vertexes (width height &key center)
Package

clinch.

Source

shapes.lisp.

Function: make-sphere ()
Package

clinch.

Source

shapes.lisp.

Function: merge-hashes (hashes)
Package

clinch.

Source

clinch.lisp.

Function: midpoint (vectors)
Package

clinch.

Source

clinch.lisp.

Function: normalize-for-3d (m)
Package

clinch.

Source

clinch.lisp.

Function: print-sdl-version ()
Package

clinch.

Source

window.lisp.

Function: random-heightfield (w h)
Package

clinch.

Source

shapes.lisp.

Function: ray-triangles-intersect (points index origin direction)
Package

clinch.

Source

clinch.lisp.

Function: remove-dependent (this dependent)
Package

clinch.

Source

clinch.lisp.

Function: remove-shader-value-suffix (str)
Package

clinch.

Source

shader-program.lisp.

Function: remove-shader-value-type-suffix (sym)
Package

clinch.

Source

shader-program.lisp.

Function: remove-uncollected (this)

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

Package

clinch.

Source

clinch.lisp.

Function: separate (lst len)
Package

clinch.

Source

clinch.lisp.

Function: set-assoc-name (alist item value)
Package

clinch.

Source

clinch.lisp.

Function: set-assoc-value (alist item value)
Package

clinch.

Source

clinch.lisp.

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

clinch.

Source

window.lisp.

Function: set-point (arr num x y z)
Package

clinch.

Source

shapes.lisp.

Function: set-point-by-index (points index value)
Package

clinch.

Source

transform.lisp.

Function: split-keywords (lst &optional keys objects)
Package

clinch.

Source

clinch.lisp.

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.

Function: tst (e arr w h &key texture)
Package

clinch.

Source

shapes.lisp.

Function: uninit-controllers ()
Package

clinch.

Source

window.lisp.

Function: unload-all-dependants (this)
Package

clinch.

Source

clinch.lisp.

Function: unload-dependent (this dependent)
Package

clinch.

Source

clinch.lisp.

Function: update-swank ()

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

Package

clinch.

Source

window.lisp.


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.

Generic Function: add-finalizer (this)
Package

clinch.

Methods
Method: add-finalizer ((this shader))
Source

shaders.lisp.

Generic Function: attach-shader (program shader)
Package

clinch.

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

shader-program.lisp.

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.

Generic Reader: bones (object)
Package

clinch.

Methods
Reader Method: bones ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

bones.

Generic Writer: (setf bones) (object)
Package

clinch.

Methods
Writer Method: (setf bones) ((entity entity))

automatically generated writer method

Source

entity.lisp.

Target Slot

bones.

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.

Method: build-shader-program ((this null) &key vertex-shader fragment-shader geometry-shader attributes uniforms defines undefs delete-shaders)
Source

shader-program.lisp.

Generic Reader: color-attachments (object)
Package

clinch.

Methods
Reader Method: color-attachments ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

color.

Generic Reader: current-time (object)
Package

clinch.

Methods
Reader Method: current-time ((animator animator))

automatically generated reader method

Source

animation.lisp.

Target Slot

current-time.

Generic Writer: (setf current-time) (object)
Package

clinch.

Methods
Writer Method: (setf current-time) ((animator animator))

automatically generated writer method

Source

animation.lisp.

Target Slot

current-time.

Generic Reader: current-transform (object)
Package

clinch.

Methods
Reader Method: current-transform ((node node))

automatically generated reader method

Source

node.lisp.

Target Slot

current-transform.

Generic Function: data-from-list (this lst)
Package

clinch.

Methods
Method: data-from-list ((this texture) lst)
Source

texture.lisp.

Generic Function: delete-entity (this &key)
Package

clinch.

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

shapes.lisp.

Generic Function: detach-shader (program shader)
Package

clinch.

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

shader-program.lisp.

Generic Function: find-shader-attributes (this &key)
Package

clinch.

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

shader-program.lisp.

Generic Function: find-shader-uniforms (this &key)
Package

clinch.

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

shader-program.lisp.

Generic Reader: internal-format (object)
Package

clinch.

Methods
Reader Method: internal-format ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

internal-format.

Generic Writer: (setf internal-format) (object)
Package

clinch.

Methods
Writer Method: (setf internal-format) ((texture texture))

automatically generated writer method

Source

texture.lisp.

Target Slot

internal-format.

Generic Reader: key (object)
Package

clinch.

Methods
Reader Method: key ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

key.

Reader Method: key ((texture texture))

automatically generated reader method

Source

texture.lisp.

Target Slot

key.

Reader Method: key ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

key.

Reader Method: key ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

key.

Reader Method: key ((shader-program shader-program))

automatically generated reader method

Source

shader-program.lisp.

Target Slot

key.

Reader Method: key ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

key.

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.

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.

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.

Generic Reader: loaded? (object)
Package

clinch.

Methods
Reader Method: loaded? ((index-buffer index-buffer))

automatically generated reader method

Source

index-buffer.lisp.

Target Slot

loaded.

Reader Method: loaded? ((buffer buffer))

automatically generated reader method

Source

buffer.lisp.

Target Slot

loaded.

Generic Writer: (setf loaded?) (object)
Package

clinch.

Methods
Writer Method: (setf loaded?) ((index-buffer index-buffer))

automatically generated writer method

Source

index-buffer.lisp.

Target Slot

loaded.

Writer Method: (setf loaded?) ((buffer buffer))

automatically generated writer method

Source

buffer.lisp.

Target Slot

loaded.

Generic Function: make-shader (this)
Package

clinch.

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

Creates a geometry shader.

Source

shaders.lisp.

Method: make-shader ((this fragment-shader))

Creates a fragment shader.

Source

shaders.lisp.

Method: make-shader ((this vertex-shader))

Creates a vertex shader.

Source

shaders.lisp.

Generic Function: make-shareable-array (this &key size)
Package

clinch.

Methods
Method: make-shareable-array ((this buffer) &key size)
Source

buffer.lisp.

Generic Reader: mode (object)
Package

clinch.

Methods
Reader Method: mode ((entity entity))

automatically generated reader method

Source

entity.lisp.

Target Slot

mode.

Generic Function: node-top-map (this &optional parent)
Package

clinch.

Methods
Method: node-top-map ((this node) &optional parent)
Source

node.lisp.

Generic Function: node-top-map-string (this &optional parent)
Package

clinch.

Methods
Method: node-top-map-string ((this node) &optional parent)
Source

node.lisp.

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.

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.

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.

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.

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.

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.

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

Get the rotation matrix.

Package

clinch.

Source

node.lisp.

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.

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

Gets the scaling matrix.

Generic Reader: shader-attributes (object)
Package

clinch.

Methods
Reader Method: shader-attributes ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

attributes.

Generic Function: shader-program-attribute (this key)
Package

clinch.

Methods
Method: shader-program-attribute ((this shader-program) key)

Gets a shader-program attribute

Source

shader-program.lisp.

Generic Function: (setf shader-program-attribute) (this key)
Package

clinch.

Methods
Method: (setf shader-program-attribute) ((this shader-program) key)

Sets a shader-program attribute.

Source

shader-program.lisp.

Generic Reader: shader-program-attributes (object)
Package

clinch.

Methods
Reader Method: shader-program-attributes ((shader-program shader-program))

automatically generated reader method

Source

shader-program.lisp.

Target Slot

attributes.

Generic Function: shader-program-uniform (this key)
Package

clinch.

Methods
Method: shader-program-uniform ((this shader-program) key)

Gets a shader-program uniform

Source

shader-program.lisp.

Generic Function: (setf shader-program-uniform) (this key)
Package

clinch.

Methods
Method: (setf shader-program-uniform) ((this shader-program) key)

Sets a shader-program uniform.

Source

shader-program.lisp.

Generic Reader: shader-program-uniforms (object)
Package

clinch.

Methods
Reader Method: shader-program-uniforms ((shader-program shader-program))

automatically generated reader method

Source

shader-program.lisp.

Target Slot

uniforms.

Generic Reader: shader-type (object)
Package

clinch.

Methods
Reader Method: shader-type ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

shader-type.

Generic Reader: shader-uniforms (object)
Package

clinch.

Methods
Reader Method: shader-uniforms ((shader shader))

automatically generated reader method

Source

shaders.lisp.

Target Slot

uniforms.

Generic Reader: stencil-attachments (object)
Package

clinch.

Methods
Reader Method: stencil-attachments ((frame-buffer frame-buffer))

automatically generated reader method

Source

framebuffer.lisp.

Target Slot

stencil.

Generic Function: translation-matrix (this &key)

Get the translation matrix.

Package

clinch.

Source

node.lisp.

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.

Generic Function: unbind-normal-array ()
Package

clinch.

Methods
Method: unbind-normal-array ()

Stop using the normal array

Source

buffer.lisp.

Generic Function: unbind-vertex-array ()
Package

clinch.

Methods
Method: unbind-vertex-array ()

Stop using the vertex array

Source

buffer.lisp.


5.2.6 Classes

Class: 2d-node
Package

clinch.

Source

2d-node.lisp.

Direct superclasses
Class: fragment-shader

Fragment Shader Class.

Package

clinch.

Source

shaders.lisp.

Direct superclasses

shader.

Direct methods

make-shader.

Direct slots
Slot: shader-type
Initform

:fragment-shader

Class: geometry-shader

Geometry Shader Class.

Package

clinch.

Source

shaders.lisp.

Direct superclasses

shader.

Direct methods

make-shader.

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.

Direct superclasses

buffer.

Direct methods

pushg.

Direct slots
Slot: target
Initform

:pixel-unpack-buffer

Class: shader

Base class for all individual shaders.

Package

clinch.

Source

shaders.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: name
Readers

name.

Writers

This slot is read-only.

Slot: id
Initargs

:id

Readers

id.

Writers

This slot is read-only.

Slot: shader-type
Initargs

:shader-type

Readers

shader-type.

Writers

This slot is read-only.

Slot: attributes
Readers

shader-attributes.

Writers

This slot is read-only.

Slot: uniforms
Readers

shader-uniforms.

Writers

This slot is read-only.

Slot: key
Initform

(gensym "shader")

Readers

key.

Writers

This slot is read-only.

Class: vertex-shader

Vertex Shader Class.

Package

clinch.

Source

shaders.lisp.

Direct superclasses

shader.

Direct methods

make-shader.

Direct slots
Slot: shader-type
Initform

:vertex-shader


Appendix A Indexes


A.1 Concepts


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

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

$
$: Private macros
$>: Private ordinary functions

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

*
*default-on-idle*: Public ordinary functions

_
_init: Private ordinary functions

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

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

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

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

E
enabled: Public generic functions
enabled: Public generic functions
enabled: Public generic functions
ensure-cepl-compatible-setup: Private ordinary functions
ensure-float: Public macros

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

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

H
height: Public generic functions
height: Public generic functions
height: Public generic functions
heightmap->buffers: Private ordinary functions

I
id: Public generic functions
id: Public generic functions
id: Public generic functions
id: Public generic functions
id: Public generic functions
indexes: Public generic functions
indexes: Public generic functions
init: Public ordinary functions
init-controllers: Private ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
internal-format: Private generic functions
internal-format: Private generic functions

K
key: Private generic functions
key: Private generic functions
key: Private generic functions
key: Private generic functions
key: Private generic functions
key: Private generic functions
key: Private generic functions

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

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

N
n*: Public generic functions
n*: Public generic functions
n*: Public generic functions
n*: Public generic functions
n*: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions
node-top-map: Private generic functions
node-top-map: Private generic functions
node-top-map-string: Private generic functions
node-top-map-string: Private generic functions
normalize-for-3d: Private ordinary functions

P
pause: Public generic functions
pause: Public generic functions
paused: Public generic functions
paused: Public generic functions
play: Public generic functions
play: Public generic functions
print-object: Public standalone methods
print-object: Public standalone methods
print-sdl-version: Private ordinary functions
program: Public generic functions
program: Public generic functions
pullg: Public generic functions
pullg: Public generic functions
pullg: Public generic functions
pullg: Public generic functions
pushg: Public generic functions
pushg: Public generic functions
pushg: Public generic functions
pushg: Public generic functions

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

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

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

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

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

V
vertex-count: Public generic functions
vertex-count: Public generic functions
vertex-count: Public generic functions

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

X
x: Public generic functions
x: Public generic functions

Y
y: Public generic functions
y: Public generic functions


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

+
+pi+: Public constants

A
animation: Public classes
attributes: Public classes
attributes: Public classes
attributes: Private classes

B
bones: Public classes

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

D
data-format: Public classes
depth: Public classes

E
enabled: Public classes
enabled: Public classes

F
frames: Public classes

H
height: Public classes
height: Public classes

I
id: Public classes
id: Public classes
id: Public classes
id: Private classes
indexes: Public classes
internal-format: Public classes

K
key: Public classes
key: Public classes
key: Public classes
key: Public classes
key: Public classes
key: Private classes

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

M
mode: Public classes

N
name: Public classes
name: Public classes
name: Public classes
name: Private classes

P
paused: Public classes
program: Public classes

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

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

T
t-matrix: Public classes
target: Public classes
target: Public classes
target: Public classes
target: Private classes
tex-id: Public classes
trans: Public classes
transform: Public classes
type: Public classes
type: Public classes
type: Public classes

U
uniforms: Public classes
uniforms: Public classes
uniforms: Private classes
usage: Public classes
usage: Public classes

V
v0: Private special variables
v20: Private special variables
v2i: Private special variables
vertex-count: Public classes
vertex-count: Public classes
vi: Private special variables

W
width: Public classes
width: Public classes

X
x: Public classes

Y
y: Public classes


A.4 Data types

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

2
2d-node: Private classes
2d-node.lisp: The clinch/2d-node․lisp file

A
animation: Public classes
animation.lisp: The clinch/animation․lisp file
animator: Public classes

B
buffer: Public classes
buffer.lisp: The clinch/buffer․lisp file

C
Class, 2d-node: Private classes
Class, animation: Public classes
Class, animator: Public classes
Class, buffer: Public classes
Class, entity: Public classes
Class, fragment-shader: Private classes
Class, frame-buffer: Public classes
Class, geometry-shader: Private classes
Class, index-buffer: Public classes
Class, node: Public classes
Class, pixel-buffer: Private classes
Class, shader: Private classes
Class, shader-program: Public classes
Class, texture: Public classes
Class, vertex-shader: Private classes
Class, viewport: Public classes
clinch: The clinch system
clinch: The clinch package
clinch.asd: The clinch/clinch․asd file
clinch.lisp: The clinch/clinch․lisp file

D
default-shaders.lisp: The clinch/default-shaders․lisp file

E
entity: Public classes
entity.lisp: The clinch/entity․lisp file

F
File, 2d-node.lisp: The clinch/2d-node․lisp file
File, animation.lisp: The clinch/animation․lisp file
File, buffer.lisp: The clinch/buffer․lisp file
File, clinch.asd: The clinch/clinch․asd file
File, clinch.lisp: The clinch/clinch․lisp file
File, default-shaders.lisp: The clinch/default-shaders․lisp file
File, entity.lisp: The clinch/entity․lisp file
File, framebuffer.lisp: The clinch/framebuffer․lisp file
File, index-buffer.lisp: The clinch/index-buffer․lisp file
File, node.lisp: The clinch/node․lisp file
File, package.lisp: The clinch/package․lisp file
File, pixel-buffer.lisp: The clinch/pixel-buffer․lisp file
File, shader-program.lisp: The clinch/shader-program․lisp file
File, shaders.lisp: The clinch/shaders․lisp file
File, shapes.lisp: The clinch/shapes․lisp file
File, texture.lisp: The clinch/texture․lisp file
File, threads.lisp: The clinch/threads․lisp file
File, transform.lisp: The clinch/transform․lisp file
File, viewport.lisp: The clinch/viewport․lisp file
File, window.lisp: The clinch/window․lisp file
fragment-shader: Private classes
frame-buffer: Public classes
framebuffer.lisp: The clinch/framebuffer․lisp file

G
geometry-shader: Private classes

I
index-buffer: Public classes
index-buffer.lisp: The clinch/index-buffer․lisp file

N
node: Public classes
node.lisp: The clinch/node․lisp file

P
Package, clinch: The clinch package
package.lisp: The clinch/package․lisp file
pixel-buffer: Private classes
pixel-buffer.lisp: The clinch/pixel-buffer․lisp file

S
shader: Private classes
shader-program: Public classes
shader-program.lisp: The clinch/shader-program․lisp file
shaders.lisp: The clinch/shaders․lisp file
shapes.lisp: The clinch/shapes․lisp file
System, clinch: The clinch system

T
texture: Public classes
texture.lisp: The clinch/texture․lisp file
threads.lisp: The clinch/threads․lisp file
transform.lisp: The clinch/transform․lisp file

V
vertex-shader: Private classes
viewport: Public classes
viewport.lisp: The clinch/viewport․lisp file

W
window.lisp: The clinch/window․lisp file