qxLib
include
qx
gl
buffer_binding_point_base.inl
Go to the documentation of this file.
1
/**
2
3
@file buffer_binding_point_base.inl
4
@author Khrapov
5
@date 10.07.2020
6
@copyright © Nick Khrapov, 2021. All right reserved.
7
8
**/
9
10
namespace
qx
11
{
12
13
inline
void
buffer_binding_point_base::BindBase
(GLuint nIndex)
14
{
15
glBindBufferBase(this->
GetBufferType
(), nIndex, this->
GetBufferName
());
16
}
17
18
}
// namespace qx
qx::IBuffer::GetBufferName
virtual GLuint GetBufferName() const =0
Get the object's name - the reference to the object.
qx::buffer_base::GetBufferType
virtual GLenum GetBufferType() const =0
Get buffer type.
qx::buffer_binding_point_base::BindBase
virtual void BindBase(GLuint nIndex)
Bind a buffer object to an indexed buffer target from shader.
Definition:
buffer_binding_point_base.inl:13
Generated by
1.9.1