qxLib
include
qx
gl
vbo.inl
Go to the documentation of this file.
1
/**
2
3
@file vbo.inl
4
@author Khrapov
5
@date 19.08.2021
6
@copyright © Nick Khrapov, 2021. All right reserved.
7
8
**/
9
10
namespace
qx
11
{
12
13
inline
GLenum
base_vbo::GetBufferType
()
const
14
{
15
return
GL_ARRAY_BUFFER;
16
}
17
18
inline
GLbitfield
base_vbo::GetBarrierBit
()
const
19
{
20
return
GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT;
21
}
22
23
24
}
// namespace qx
qx::buffer_base::GetBufferType
virtual GLenum GetBufferType() const =0
Get buffer type.
qx::buffer_base::GetBarrierBit
virtual GLbitfield GetBarrierBit() const =0
Get buffer type barrier bit.
Generated by
1.9.1