...it's the thing which renders your prismels.
As of this writing, its definition is:
typedef struct prismelrenderer { bool cache_bitmaps; vecspace_t *space; stringstore_t stringstore; ARRAY_DECL(struct font*, fonts) ARRAY_DECL(struct geomfont*, geomfonts) ARRAY_DECL(struct prismel*, prismels) ARRAY_DECL(struct rendergraph*, rendergraphs) ARRAY_DECL(struct prismelmapper*, mappers) ARRAY_DECL(struct palettemapper*, palmappers) } prismelrenderer_t;
From C, one generally uses it by loading a .fus file with prismelrenderer_load
.
The syntax is:
import FILENAME prismels: ... shapes: ... mappers: ... palmappers: ... geomfonts: ...
You can think of it as defining several different "namespaces", one for each type of object.
My standard set of prismels includes "sq", "tri", and "dia".
The "shapes" namespace is actually for rendergraphs