1al_set_new_bitmap_depth(3) al_set_new_bitmap_depth(3)
2
3
4
6 al_set_new_bitmap_depth - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_set_new_bitmap_depth(int depth)
12 SETTER(new_bitmap_depth, depth)
13
15 Sets the depthbuffer depth used by newly created bitmaps (on the cur‐
16 rent thread) if they are used with al_set_target_bitmap(3). 0 means no
17 depth-buffer will be created when drawing into the bitmap, which is the
18 default.
19
21 5.2.1
22
23 [Unstable API]: This is an experimental feature and currently
24 only works for the OpenGL backend.
25
26
27
28Allegro reference manual al_set_new_bitmap_depth(3)