| n | vec[i32,U] | desired array shape |
| a | T | value to fill array with (mutable types are by-reference) |
| a | arr[T,U] | array to modify |
| n | vec[i32,U] | desired new shape |
| a | arr[T,U] | array to query |
| a | dict[T,U] | dict to modify |
| a | dict[T,U] | dict to modify |
| x | T | key to remove |
| a | dict[T,U] | dict to query |
| x | T | key to check |
| a | dict[T,U] | dict to query |
| a | dict[T,U] | dict to query |
| a | dict[T,U] | dict to query |
| src | str | string to parse |
| obj | JSON | JSON to serialize |
| bytes | list[u8] |
| hfset | i32 |
| gidx | i32 | |
| hidx | i32 | |
| flag | u32 |
| gidx | i32 | |
| hidx | i32 |
| gidx | i32 | |
| reso | i32 |
| gidx | i32 |
| ch | i32 | |
| flag | u32 |
| lig | list[i32] | |
| flag | u32 |
| prgm | i32 | shader program (from .program(...)) |
| tex | Texture | texture to render to |
| prgm | i32 | shader program (from .program(...)) |
| ctx | u64 | the windowing context (from win.init(...)) |
| src | str | fragment source code |
| w | i32 | desired width |
| h | i32 | desired height |
| uv | vec[f32,2] | normalized uv-coordinate (0-1) |
| pix | arr[u8,3] | array holding desired RGBA colors of each pixel (0-255) |
| name | str | name of the uniform (matches name in shader) |
| x | T | the desired value |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| eye | vec[f32,3] | camera position |
| targ | vec[f32,3] | target position |
| up | vec[f32,3] | up vector |
| left | f32 | left clipping plane |
| right | f32 | right clipping plane |
| bottom | f32 | bottom clipping plane |
| top | f32 | top clipping plane |
| near | f32 | near clipping plane |
| far | f32 | far clipping plane |
| fovy | f32 | field of view angle, in degrees, in the Y direction |
| aspect | f32 | aspect ratio (X/Y) |
| near | f32 | near clipping plane |
| far | f32 | far clipping plane |
| ctx | u64 | the windowing context (from win.init(...)) |
| axis | vec[f32,3] | axis of rotation |
| ang | f32 | angle in degrees |
| x | f32 | scale factor on X axis |
| y | f32 | scale factor on Y axis |
| z | f32 | scale factor on Z axis |
| x | f32 | scale factor |
| x | f32 | offset on X axis |
| y | f32 | offset on Y axis |
| z | f32 | offset on Z axis |
| transform | vec[f32,4,4] | transformation (a.k.a. model as in model-view-projection) matrix |
| flags | i32 | a bitwise OR of .DIRTY_* flags, e.g. .DIRTY_VERTICES|.DIRTY_COLORS |
| s | str | string containing text to draw |
| transform | vec[f32,4,4] | transformation matrix |
| name | str | |
| x | str |
| name | str |
| name | str | |
| x | T |
| name | str | |
| x | f32 | |
| l | f32 | |
| r | f32 |
| name | str | |
| x | i32 | |
| l | i32 | |
| r | i32 |
| name | str | |
| x | vec[T,N] | |
| l | vec[T,N] | |
| r | vec[T,N] |
| name | str | |
| x | i32 |
| x | vec[f32,3,3] | transformation to apply |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| r | f32 | grayscale |
| a | f32 | alpha |
| x | f32 | center X |
| y | f32 | center Y |
| d | f32 | diameter |
| w | i32 | desired width |
| h | i32 | desired height |
| x | f32 | center X |
| y | f32 | center Y |
| w | f32 | diameter X |
| h | f32 | diameter Y |
| close | i32 | 1 to close the shape (polygon), 0 otherwise (polyline) |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| a | f32 | alpha |
| r | f32 | grayscale |
| x | f32 | left coordinate to draw to |
| y | f32 | top coordinate to draw to |
| w | f32 | width after scaling |
| h | f32 | height after scaling |
| x | f32 | left coordinate to draw to |
| y | f32 | top coordinate to draw to |
| pix | arr[u8,3] | array holding desired RGBA colors of each pixel (0-255) |
| x0 | f32 | X coordinate of one end |
| y0 | f32 | Y coordinate of one end |
| x1 | f32 | X coordinate of the other end |
| y1 | f32 | Y coordinate of the other end |
| close | i32 | 1 to close the previous contour, 0 otherwise |
| x | f32 | X coordinate |
| y | f32 | Y coordinate |
| x | f32 | left coordinate |
| y | f32 | top coordinate |
| w | f32 | width |
| h | f32 | height |
| x | f32 | angle in degrees |
| x | f32 | factor on X axis |
| y | f32 | factor on Y axis |
| x | f32 | factor on both axes |
| w | i32 | width |
| h | i32 | height |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| r | f32 | grayscale |
| a | f32 | alpha |
| w | f32 | thickness in pixels |
| s | str | string containing the text |
| x | f32 | left coordinate |
| y | f32 | bottom coordinate |
| x | f32 | X offset |
| y | f32 | Y offset |
| x | f32 | X coordinate |
| y | f32 | Y coordinate |
| buf | list[u8] | list of bytes holding the image in its encoded form |
| ext | str | image format, specified as file extension |
| pix | arr[u8,3] | array of pixels (RGBA 0-255) |
| pix | arr[T,3] | array of pixels |
| x | i32 | X coordinate |
| y | i32 | Y coordinate |
| pix | arr[T,3] | array of pixels |
| x | i32 | X coordinate |
| y | i32 | Y coordinate |
| c | vec[T,4] | pixel color components |
| s | str | string to print |
| s | str | string to print |
| s | str | path to file (or URL on some backends) |
| s | str | path to file (or URL on some backends) |
| buf | list[u8] | list of bytes |
| a | list[T] | list to modify |
| i | i32 | start index (inclusive) |
| j | i32 | end index (exclusive) |
| a | list[T] | list to modify |
| i | i32 | the element will be of this index after insertion |
| x | T | the element to insert |
| a | list[T] | list to query |
| n | i32 | desired length |
| a | T | value to fill list with (mutable types are by-reference) |
| a | list[T] | list whose elements will be input to the function, in order |
| f | func[tup[T],U] | the function to apply to each element |
| a | list[T] | list to modify |
| a | list[T] | list to modify |
| x | T | element to be pushed |
| a | list[T] | list to be sliced |
| i | i32 | start index (inclusive) |
| j | i32 | end index (exclusive) |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | dividend |
| y | f32 | divisor |
| x | vec[f32,N] | dividend |
| y | vec[f32,N] | divisor |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | T | value |
| a | T | lower bound |
| b | T | upper bound |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | the exponent |
| x | vec[f32,N] | the exponent |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | T | lower end |
| y | T | higher end |
| t | f32 | interpolant |
| x | T | value |
| ilo | T | initial lower end |
| ihi | T | initial higher end |
| olo | T | oncoming lower end |
| ohi | T | oncoming higher end |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | sample X |
| y | f32 | sample Y |
| z | f32 | sample Z |
| x | f32 | sample X |
| y | f32 | sample Y |
| x | f32 | sample coordinate |
| lod | i32 | level of detail (fractal octave count) |
| falloff | f32 | diminish factor on each subsequent octave |
| a | f32 | upper bound |
| a | vec[f32,N] | element-wise upper bound |
| a | T | lower bound |
| b | T | upper bound |
| x | u32 | the seed |
| rq | Request | the request |
| rate | i32 | sampling rate, e.g. 44100 |
| chan | i32 | number of channels, 1=mono, 2=stereo |
| x | f32 | audio sample (-1.0 to 1.0) |
| i | u32 | code point |
| btyes | list[u8] | list of bytes holding the encoded representation |
| encoding | str | encoding, e.g. utf-8, ascii |
| s | str | the string to be encoded |
| encoding | str | encoding, e.g. utf-8, ascii |
| s | str | the string to query |
| s | str | string containing the 1 character |
| ms | f32 | time in milliseconds |
| trg | f32 | desired frames-per-second |
| stmp | f64 | timestamp in seconds |
| v | vec[f32,3] | first vector |
| u | vec[f32,3] | second vector |
| v | vec[f32,N] | vector in question |
| v | vec[f32,N] | first vector |
| u | vec[f32,N] | second vector |
| v | vec[f32,N] | vector in question |
| flag | i32 | flags (e.g. source, resolution, effects) |
| path | str | webcam device name/file path |
| flag | i32 | flags (e.g. source, resolution, effects) |
| w | i32 | width |
| h | i32 | height |
| flags | i32 | flags (e.g. 2D/3D context) |