docs and type fixes

This commit is contained in:
Rakarake 2026-03-15 14:49:19 +01:00
parent 641953bba1
commit 4acce5525d
5 changed files with 15 additions and 8 deletions

View file

@ -47,9 +47,9 @@ Time since program start.
.RE
.PP
\fBiResolution\fR : vec2
\fBiResolution\fR : vec3
.RS 4
Resolution in (number of pixels) x & y.
Resolution in number of pixels. x: width, y: height, z: aspect-ratio (hard coded to 1.0).
.RE
.PP
@ -59,11 +59,18 @@ The currently rendered frame.
.RE
.PP
\fBiChannel\fR{\fB0\fR..\fB3\fR} : int
\fBiChannel\fR{\fB0\fR..\fB3\fR} : sampler
.RS 4
Samplers for provided textures.
.RE
.PP
\fBiChannelResolution\fR : vec3[4]
.RS 4
Array of resolutions for iChannel:s. x: width, y: height, z: aspect-ratio (hard coded
to 1.0).
.RE
.SH SEE ALSO
\fBwlr-randr\fR(1)
.PP