19 bool init_frame_called;
31 int head_pointers_binding_point;
32 int nodes_binding_point;
37 void ensure_buffers(
context& ctx);
42 a_buffer(
unsigned _fragments_per_pixel = 32,
unsigned _nodes_per_pixel = 64,
int _depth_tex_unit = 0,
43 int _node_counter_binding_point = 0,
int _head_pointers_binding_point = 0,
int _nodes_binding_point = 1);
64 void disable(
context& ctx,
size_t* out_node_count =
nullptr);
66 void finish_frame(
context& ctx);
68 int& ref_depth_tex_unit() {
return depth_tex_unit; }
69 int& ref_node_counter_binding_point () {
return node_counter_binding_point ; }
70 int& ref_head_pointers_binding_point() {
return head_pointers_binding_point ; }
71 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.