15 #ifndef RENDERBUFFER_H 16 #define RENDERBUFFER_H 18 #include "pandabase.h" 33 T_aux_rgba_0 = 0x00000001,
34 T_aux_rgba_1 = 0x00000002,
35 T_aux_rgba_2 = 0x00000004,
36 T_aux_rgba_3 = 0x00000008,
37 T_aux_rgba_ALL = 0x0000000F,
39 T_aux_hrgba_0 = 0x00000010,
40 T_aux_hrgba_1 = 0x00000020,
41 T_aux_hrgba_2 = 0x00000040,
42 T_aux_hrgba_3 = 0x00000080,
43 T_aux_hrgba_ALL = 0x000000F0,
45 T_aux_float_0 = 0x00000100,
46 T_aux_float_1 = 0x00000200,
47 T_aux_float_2 = 0x00000400,
48 T_aux_float_3 = 0x00000800,
49 T_aux_float_ALL = 0x00000F00,
51 T_aux_undef_0 = 0x00001000,
52 T_aux_undef_1 = 0x00002000,
53 T_aux_undef_2 = 0x00004000,
54 T_aux_undef_3 = 0x00008000,
58 T_front_left = 0x00010000,
59 T_back_left = 0x00020000,
60 T_front_right = 0x00040000,
61 T_back_right = 0x00080000,
71 T_stencil = 0x00200000,
77 : _gsg(gsg), _buffer_type(buffer_type) { }
Encapsulates all the communication with a particular instance of a given rendering backend...
A RenderBuffer is an arbitrary subset of the various layers (depth buffer, color buffer, etc.) of a drawing region.