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
GLDisplayList
(
int
count=1);
11
~
GLDisplayList
();
12
operator
bool()
const
{
return
isCompiled(); }
13
bool
isCompiled()
const
;
14
void
beginCompile(
int
index=0);
15
void
endCompile();
16
void
call(
int
index=0)
const
;
17
void
callAll()
const
;
18
void
erase();
19
20
std::shared_ptr<int> id;
21
int
count;
22
};
23
24
}
//namespace GLDraw
25
26
#endif
27
28
GLDraw::GLDisplayList
Definition:
GLDisplayList.h:8
GLDraw
Contains all definitions in the GLDraw package.
Definition:
AnyGeometry.h:13
Generated by
1.8.11