AllegroFlare/TileMaps/MultiMesh
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
num_items |
std::size_t |
vertex_buffer |
ALLEGRO_VERTEX_BUFFER* |
vertex_decl |
ALLEGRO_VERTEX_DECL* |
texture |
ALLEGRO_BITMAP* |
vertices_in_use |
int |
VERTICES_PER_ITEM |
std::size_t |
atlas |
AllegroFlare::TileMaps::MultiMeshUVAtlas |
initialized |
bool |
DEFAULT_NUM_ITEMS |
std::size_t |
Methods
set_atlas(AllegroFlare::TileMaps::MultiMeshUVAtlas atlas={}) |
set_num_items(std::size_t num_items=256) |
infer_num_items_in_use() |
infer_largest_index_num_in_use() |
initialize() |
append(int atlas_item_index_num=0, float x=0, float y=0) |
append_raw(float x=0, float y=0, float w=1, float h=1, float u1=100.0f, float v1=100.0f, float u2=200.0f, float v2=200.0f) |
remove(int item_index=0) |
render() |
Dependencies
{"symbol"=>"AllegroFlare::TileMaps::MultiMeshUVAtlas", "headers"=>["AllegroFlare/TileMaps/MultiMeshUVAtlas.hpp"]} |
{"symbol"=>"std::size_t", "headers"=>["cstddef"]} |
{"symbol"=>"ALLEGRO_VERTEX_DECL", "headers"=>["allegro5/allegro_primitives.h"]} |
{"symbol"=>"ALLEGRO_VERTEX_BUFFER", "headers"=>["allegro5/allegro_primitives.h"]} |
{"symbol"=>"ALLEGRO_BITMAP", "headers"=>["allegro5/allegro.h"]} |
Sponsor
CLUBCATT has cat shirts, mugs, games and puzzles you'll love