PixelLightAPI
.
|
A window renderer surface where we can render in. More...
#include <SurfaceWindow.h>
Public Member Functions | |
virtual PLRENDERER_API | ~SurfaceWindow () |
Destructor. | |
SurfaceWindowHandler * | GetHandler () const |
Returns the renderer surface handler this surface is assigned with. | |
PLCore::handle | GetNativeWindowHandle () const |
Returns the native window the surface is assigned with. | |
bool | IsFullscreen () const |
Returns whether the window is in fullscreen mode or not. | |
virtual bool | GetGamma (float &fRed, float &fGreen, float &fBlue) const =0 |
Gets the current gamma components. | |
virtual bool | SetGamma (float fRed=1.0f, float fGreen=1.0f, float fBlue=1.0f)=0 |
Sets the current gamma components. | |
Protected Member Functions | |
PLRENDERER_API | SurfaceWindow (SurfaceWindowHandler &cHandler, PLCore::handle nNativeWindowHandle, bool bFullscreen=false) |
Constructor. | |
Protected Attributes | |
bool | m_bIsFullscreen |
A window renderer surface where we can render in.
virtual PLRENDERER_API PLRenderer::SurfaceWindow::~SurfaceWindow | ( | ) | [virtual] |
Destructor.
PLRENDERER_API PLRenderer::SurfaceWindow::SurfaceWindow | ( | SurfaceWindowHandler & | cHandler, |
PLCore::handle | nNativeWindowHandle, | ||
bool | bFullscreen = false |
||
) | [protected] |
Constructor.
[in] | cHandler | Renderer surface handler this surface is assigned with (MUST be valid!) |
[in] | nNativeWindowHandle | Native window the surface is assigned with |
[in] | bFullscreen | Fullscreen mode? |
SurfaceWindowHandler * PLRenderer::SurfaceWindow::GetHandler | ( | ) | const [inline] |
Returns the renderer surface handler this surface is assigned with.
PLCore::handle PLRenderer::SurfaceWindow::GetNativeWindowHandle | ( | ) | const [inline] |
Returns the native window the surface is assigned with.
bool PLRenderer::SurfaceWindow::IsFullscreen | ( | ) | const [inline] |
Returns whether the window is in fullscreen mode or not.
virtual bool PLRenderer::SurfaceWindow::GetGamma | ( | float & | fRed, |
float & | fGreen, | ||
float & | fBlue | ||
) | const [pure virtual] |
Gets the current gamma components.
[out] | fRed | Receives the red gamma component value |
[out] | fGreen | Receives the green gamma component value |
[out] | fBlue | Receives the blue gamma component value |
virtual bool PLRenderer::SurfaceWindow::SetGamma | ( | float | fRed = 1.0f , |
float | fGreen = 1.0f , |
||
float | fBlue = 1.0f |
||
) | [pure virtual] |
Sets the current gamma components.
[in] | fRed | Red gamma component value |
[in] | fGreen | Green gamma component value |
[in] | fBlue | Blue gamma component value |
bool PLRenderer::SurfaceWindow::m_bIsFullscreen [protected] |
Is this window in fullscreen mode?
|