26#define GPU_VAO_STATIC_LEN 3
42 GLuint vao_base_instance_ = 0;
43 int base_instance_ = 0;
45 bool is_dynamic_vao_count =
false;
92 void draw(
int v_first,
int v_count,
int i_first,
int i_count)
override;
Read Blender memory allocation and freeing.
MEM_CXX_CLASS_ALLOC_FUNCS("GLBatch")
GLIndexBuf * elem_() const
GLVertBuf * verts_(const int index) const
void multi_draw_indirect(StorageBuf *indirect_buf, int count, intptr_t offset, intptr_t stride) override
void draw_indirect(StorageBuf *indirect_buf, intptr_t offset) override
GLuint vao_get(Batch *batch)
void remove(const GLShaderInterface *interface)
void insert(const GLShaderInterface *interface, GLuint vao_id)
GLuint lookup(const GLShaderInterface *interface)
#define GPU_VAO_STATIC_LEN