ALLEGRO_VERTEX_CACHE_SIZE(3)
π ALLEGRO_VERTEX_CACHE_SIZE(3) π
okay so bestie, this is the ALLEGRO_VERTEX_CACHE_SIZE(3) page from the Library Functions Manual β and it's also chillin' in the Allegro reference manual. tiny page, big "know your cache" energy π«Ά
β¨ NAME β¨
ALLEGRO_VERTEX_CACHE_SIZE β Allegro 5 API
π SYNOPSIS π
#include <allegro5/allegro_primitives.h>
#define ALLEGRO_VERTEX_CACHE_SIZE 256
πΈ DESCRIPTION πΈ
So ALLEGRO_VERTEX_CACHE_SIZE defines the size of the transformation vertex cache for the software renderer. π
And here's the useful bit, no cap: if you pass less than this many vertices to the primitive rendering functions, you will get a speed boost. β¨
It also defines the size of the cache vertex buffer, which is used for the high-level primitives. This corresponds to the maximum number of line segments that will be used to form them. π
source: Allegro reference manual Β· version/date: not listed on the original page π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms