19 bool init_frame_called;
31 int head_pointers_binding_point;
32 int nodes_binding_point;
37 void ensure_buffers(
context& ctx);
42 bool pre_multiply_opacity =
true;
44 int z_fight_removal = 0;
46 float z_fight_removal_exp = -5.0f;
48 unsigned z_fight_window_width = 8;
50 a_buffer(
unsigned _fragments_per_pixel = 32,
unsigned _nodes_per_pixel = 64,
int _depth_tex_unit = 0,
51 int _node_counter_binding_point = 0,
int _head_pointers_binding_point = 0,
int _nodes_binding_point = 1);
72 void disable(
context& ctx,
size_t* out_node_count =
nullptr);
74 void finish_frame(
context& ctx);
76 int& ref_depth_tex_unit() {
return depth_tex_unit; }
77 int& ref_node_counter_binding_point () {
return node_counter_binding_point ; }
78 int& ref_head_pointers_binding_point() {
return head_pointers_binding_point ; }
79 int& ref_nodes_binding_point () {
return nodes_binding_point ; }
base class for all drawables, which is independent of the used rendering API.
the texture class encapsulates all functionality independent of the rendering api.