Blender
V2.93
source
blender
gpu
opengl
gl_vertex_array.hh
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2020 Blender Foundation.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#include "
glew-mx.h
"
27
28
#include "
GPU_batch.h
"
29
#include "
gl_shader_interface.hh
"
30
31
namespace
blender
{
32
namespace
gpu {
33
34
namespace
GLVertArray {
35
36
void
update_bindings
(
const
GLuint vao,
37
const
GPUBatch
*
batch
,
38
const
ShaderInterface
*interface,
39
const
int
base_instance);
40
41
void
update_bindings
(
const
GLuint vao,
42
const
uint
v_first,
43
const
GPUVertFormat
*
format
,
44
const
ShaderInterface
*interface);
45
46
}
// namespace GLVertArray
47
48
}
// namespace gpu
49
}
// namespace blender
uint
unsigned int uint
Definition:
BLI_sys_types.h:83
GPU_batch.h
GPUBatch
GPUBatch
Definition:
GPU_batch.h:93
blender::gpu::ShaderInterface
Definition:
gpu_shader_interface.hh:52
batch
GPUBatch * batch
Definition:
drawnode.c:3779
gl_shader_interface.hh
glew-mx.h
format
format
Definition:
logImageCore.h:47
blender::gpu::GLVertArray::update_bindings
void update_bindings(const GLuint vao, const GPUBatch *batch, const ShaderInterface *interface, const int base_instance)
Definition:
gl_vertex_array.cc:112
blender
Definition:
BKE_attribute_access.hh:30
GPUVertFormat
Definition:
GPU_vertex_format.h:88
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1