ALLEGRO_VERTEX_CACHE_SIZE(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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