al_get_vertex_buffer_size(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_get_vertex_buffer_size ✨

okay bestie, so this one lives in the Allegro 5 API manual (that's the 3alleg5 section, iykyk) πŸ’…


🌸 NAME 🌸

al_get_vertex_buffer_size β€” it's the Allegro 5 API, and it does literally exactly what it says on the tin πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro_primitives.h>

int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer)

πŸ’– DESCRIPTION πŸ’–

okay so here's the whole vibe: you hand it a vertex buffer, and it tells you the size of that vertex buffer. that's it. that's the function. no cap, it just returns the size πŸ”₯

returns an int, takes an ALLEGRO_VERTEX_BUFFER* called buffer, and it gives you back the size. iconic behavior honestly πŸ‘‘


⭐ SINCE ⭐

5.1.8 β€” so it's been around since forever, a true veteran πŸ’œ


🫢 SEE ALSO 🫢


and that's the whole page, bestie!! 🌈 short, sweet, and slaying. this was brought to you by the Allegro reference manual, starring al_get_vertex_buffer_size(3alleg5) πŸ’–βœ¨ no date on this one so we're just vibing with the version, periodt πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from