Kapselt ein FBO mit 2D Color-Attachment.
More...
List of all members.
Protected Member Functions |
void | generateHandle () |
void | deleteHandle () |
void | setViewport () |
void | resetViewport () |
void | backupViewport () |
uint | getWidth () |
uint | getHeight () |
Protected Attributes |
int | mFboHandle |
FramebufferTarget | mTarget |
DrawBufferMode | mDrawBuffer |
ReadBufferMode | mReadBuffer |
GLTextureRgba2D | mColorAttachment |
int[] | mBeforeBindViewport |
Detailed Description
Kapselt ein FBO mit 2D Color-Attachment.
Constructor & Destructor Documentation
HW09CPC.GLFbo2D.GLFbo2D |
( |
GLTextureRgba2D |
_colorAttachment, |
|
|
int |
_level = 0 |
|
) |
| |
Konstruktor
- Parameters:
-
_colorAttachment | das Color-Attachment |
_level | das Level des Color-Attachments welches an das FBO gebunden werden soll |
Member Function Documentation
void HW09CPC.GLFbo2D.build |
( |
int |
_level = 0 | ) |
|
Legt das FBO an.
- Parameters:
-
_level | das Level des Color-Attachments welches an das FBO gebunden werden soll |
Liefert das Color-Attachment zurück
- Returns:
- das Color-Attachment
void HW09CPC.GLFbo2D.resize |
( |
uint |
_width, |
|
|
uint |
_height |
|
) |
| |
Skaliert das FBO
- Parameters:
-
_width | die neue Breite |
_height | die neue Höhe |
The documentation for this class was generated from the following file:
- C:/Users/matthias/Documents/studium/2master/2sem/visualisierung2/workingdir.git/HW09CPC/HW09CPC/MyGL/GLFbo/GLFbo2D.cs