#include <NuxGraphics/IOpenGLFrameBufferObject.h>
Public Member Functions |
virtual | ~IOpenGLFrameBufferObject () |
int | FormatFrameBufferObject (int Width, int Height, BitmapFormat PixelFormat) |
int | SetRenderTarget (int ColorAttachmentIndex, ObjectPtr< IOpenGLSurface > pRenderTargetSurface) |
int | SetDepthSurface (ObjectPtr< IOpenGLSurface > pDepthSurface) |
ObjectPtr< IOpenGLSurface > | GetRenderTarget (int ColorAttachmentIndex) |
ObjectPtr< IOpenGLSurface > | GetDepthRenderTarget () |
int | Clear (DWORD Flags, FLOAT red, FLOAT green, FLOAT blue, FLOAT alpha, FLOAT Z, DWORD Stencil) |
int | Activate (bool WithClippingStack=false) |
int | Deactivate () |
bool | IsActive () |
void | PushClippingRegion (Rect rect) |
void | PopClippingRegion () |
void | EmptyClippingRegion () |
void | ApplyClippingRegion () |
void | SetClippingRectangle (const Rect &rect) |
| Bypass the clipping rectangle stack and set a different clipping rectangle region.
|
void | SetOpenGLClippingRectangle (int x, int y, int width, int height) |
Rect | GetClippingRegion () |
int | GetNumberOfClippingRegions () const |
int | GetWidth () const |
int | GetHeight () const |
Data Fields |
std::vector< Rect > | _ClippingRegionStack |
Friends |
class | GpuDevice |
Constructor & Destructor Documentation
virtual nux::IOpenGLFrameBufferObject::~IOpenGLFrameBufferObject |
( |
| ) |
[virtual] |
Member Function Documentation
int nux::IOpenGLFrameBufferObject::Activate |
( |
bool |
WithClippingStack = false | ) |
|
void nux::IOpenGLFrameBufferObject::ApplyClippingRegion |
( |
| ) |
|
int nux::IOpenGLFrameBufferObject::Deactivate |
( |
| ) |
|
void nux::IOpenGLFrameBufferObject::EmptyClippingRegion |
( |
| ) |
|
int nux::IOpenGLFrameBufferObject::FormatFrameBufferObject |
( |
int |
Width, |
|
|
int |
Height, |
|
|
BitmapFormat |
PixelFormat |
|
) |
| |
Rect nux::IOpenGLFrameBufferObject::GetClippingRegion |
( |
| ) |
|
int nux::IOpenGLFrameBufferObject::GetHeight |
( |
| ) |
const [inline] |
int nux::IOpenGLFrameBufferObject::GetNumberOfClippingRegions |
( |
| ) |
const |
int nux::IOpenGLFrameBufferObject::GetWidth |
( |
| ) |
const [inline] |
bool nux::IOpenGLFrameBufferObject::IsActive |
( |
| ) |
[inline] |
void nux::IOpenGLFrameBufferObject::PopClippingRegion |
( |
| ) |
|
void nux::IOpenGLFrameBufferObject::PushClippingRegion |
( |
Rect |
rect | ) |
|
void nux::IOpenGLFrameBufferObject::SetClippingRectangle |
( |
const Rect & |
rect | ) |
|
Bypass the clipping rectangle stack and set a different clipping rectangle region.
You may restore the clipping rectangle stack with ApplyClippingRectangle.
void nux::IOpenGLFrameBufferObject::SetOpenGLClippingRectangle |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
int nux::IOpenGLFrameBufferObject::SetRenderTarget |
( |
int |
ColorAttachmentIndex, |
|
|
ObjectPtr< IOpenGLSurface > |
pRenderTargetSurface |
|
) |
| |
Friends And Related Function Documentation
Field Documentation
The documentation for this class was generated from the following file: