KrisLibrary
1.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GLdraw
GLDisplayList.h
1
#ifndef GL_DISPLAY_LIST_H
2
#define GL_DISPLAY_LIST_H
3
4
#include <memory>
5
6
namespace
GLDraw
{
7
8
struct
GLDisplayList
9
{
10
explicit
GLDisplayList
(
int
count=1);
11
GLDisplayList
(
const
GLDisplayList
& rhs)=
default
;
12
~
GLDisplayList
();
13
operator
bool()
const
{
return
isCompiled(); }
14
GLDisplayList
& operator = (
const
GLDisplayList
& rhs)=
default
;
15
bool
isCompiled()
const
;
16
void
beginCompile(
int
index=0);
17
void
endCompile();
18
void
call(
int
index=0)
const
;
19
void
callAll()
const
;
20
void
erase();
21
22
std::shared_ptr<int> id;
23
int
count;
24
};
25
26
}
//namespace GLDraw
27
28
#endif
29
30
GLDraw::GLDisplayList
Definition:
GLDisplayList.h:8
GLDraw
Contains all definitions in the GLDraw package.
Definition:
AnyGeometry.h:14
Generated by
1.8.11