qxLib
include
qx
gl
buffer_binding_point_base.h
Go to the documentation of this file.
1
/**
2
3
@file buffer_binding_point_base.h
4
@author Khrapov
5
@date 10.07.2020
6
@copyright © Nick Khrapov, 2021. All right reserved.
7
8
**/
9
#pragma once
10
11
#include <
qx/gl/buffer_base.h
>
12
13
namespace
qx
14
{
15
16
/**
17
18
@class buffer_binding_point_base
19
@brief Base class for buffers with binding points
20
@details ~
21
@author Khrapov
22
@date 10.07.2020
23
24
**/
25
class
buffer_binding_point_base
:
public
buffer_base
26
{
27
public
:
28
/**
29
@brief Bind a buffer object to an indexed buffer target from shader
30
@param nIndex - index
31
**/
32
virtual
void
BindBase
(GLuint nIndex);
33
};
34
35
}
// namespace qx
36
37
#include <
qx/gl/buffer_binding_point_base.inl
>
buffer_base.h
buffer_binding_point_base.inl
qx::buffer_base
Base OpenGL buffer object class.
Definition:
buffer_base.h:27
qx::buffer_binding_point_base
Base class for buffers with binding points.
Definition:
buffer_binding_point_base.h:26
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