This is the glsl-packing Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 05:13:07 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
glsl-packingcalculate std140/std430 layout for a glsl UBO/SSBO
Bart Botta
MIT
alexandria (system).
glsl-packing.lisp (file).
base-types.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
glsl-packing/glsl-packing.lispglsl-packing (system).
pack-structs (function).
*dump-base-types* (special variable).
*dumped-types* (special variable).
*known-types* (special variable).
*major* (special variable).
*output* (special variable).
*packing* (special variable).
*type-dependencies* (special variable).
*used-types* (special variable).
align (function).
align* (generic function).
base-type (type).
block/buffer/struct (type).
dump (function).
dump* (generic function).
get-type (function).
lit (function).
round-to-multiple-of (function).
scalar (type).
size (function).
size* (generic function).
stride (function).
stride* (generic function).
type-description (type).
glsl-packing/base-types.lispglsl-packing.lisp (file).
glsl-packing (system).
*base-types* (special variable).
expand-glsl-type (function).
expand-glsl-types (function).
Packages are listed by definition order.
glsl-packingcommon-lisp.
*base-types* (special variable).
expand-glsl-type (function).
expand-glsl-types (function).
pack-structs (function).
*dump-base-types* (special variable).
*dumped-types* (special variable).
*known-types* (special variable).
*major* (special variable).
*output* (special variable).
*packing* (special variable).
*type-dependencies* (special variable).
*used-types* (special variable).
align (function).
align* (generic function).
base-type (type).
block/buffer/struct (type).
dump (function).
dump* (generic function).
get-type (function).
lit (function).
round-to-multiple-of (function).
scalar (type).
size (function).
size* (generic function).
stride (function).
stride* (generic function).
type-description (type).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Expand glsl types like :vec4 to style expected by pack-structs in list of slot definitions. Types of the form (TYPE X) are treated as arrays, with dimension X, where * or :* means unspecified size.
TYPES is a list of lists (NAME TYPE) which is processed like a sequence of calls to PACK-STRUCT, except with the ability to refer to previous types by name. if NAME is :packing or :major, TYPE is interpreted as new default value for corresponding arguments to PACK-STRUCT for following definitions. If ROOTS is specified, it should be a list of block names to use as roots when removing unused types from output. If DUMP-BASE-TYPES is true, output will include data for used scalar/vec/mat types types.
(eql :buffer-block)) type) ¶(eql :block)) type) ¶(eql :struct)) type) ¶(eql :array)) type) ¶(eql :mat)) type) ¶(eql :vec)) type) ¶(eql :buffer-block)) type) ¶(eql :block)) type) ¶(eql :array)) type) ¶(eql :mat)) type) ¶(eql :vec)) type) ¶(eql :float)) type) ¶(eql :uint)) type) ¶(eql :int)) type) ¶(eql :bool)) type) ¶| Jump to: | A D E F G L M P R S |
|---|
| Jump to: | A D E F G L M P R S |
|---|
| Jump to: | *
S |
|---|
| Jump to: | *
S |
|---|
| Jump to: | B F G P S T |
|---|
| Jump to: | B F G P S T |
|---|