Blender  V3.3
gl_vertex_array.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2020 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #include "glew-mx.h"
11 
12 #include "GPU_batch.h"
13 #include "gl_shader_interface.hh"
14 
15 namespace blender {
16 namespace gpu {
17 
18 namespace GLVertArray {
19 
23 void update_bindings(const GLuint vao,
24  const GPUBatch *batch,
25  const ShaderInterface *interface,
26  int base_instance);
27 
31 void update_bindings(const GLuint vao,
32  uint v_first,
33  const GPUVertFormat *format,
34  const ShaderInterface *interface);
35 
36 } // namespace GLVertArray
37 
38 } // namespace gpu
39 } // namespace blender
unsigned int uint
Definition: BLI_sys_types.h:67
GPUBatch
Definition: GPU_batch.h:78
struct @653::@655 batch
format
Definition: logImageCore.h:38
void update_bindings(const GLuint vao, const GPUBatch *batch, const ShaderInterface *interface, int base_instance)