AO4MO
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
Enumerator
Wolfgang
Documents
Studium
Semster 11
Vis2
Abgabe
src
AO4OM
FrameBuffer.h
1
#pragma once
2
#include <GL\glew.h>
3
#include <Texture.h>
4
8
class
FrameBuffer
9
{
10
public
:
11
FrameBuffer
(
void
);
12
~
FrameBuffer
(
void
);
17
void
create
(
bool
noZBuffer=
false
);
23
bool
bind
();
31
bool
attachTexture
(
Texture
*t,GLuint attachPoint);
35
void
release
();
36
37
bool
depthTextureExists;
41
bool
bound
;
46
GLuint
name
;
50
GLuint
renderBuffer
;
51
};
52
Generated on Tue Jun 11 2013 13:19:19 for AO4MO by
1.8.4