Static Public Member Functions | |
static void | resizeViewport (int x, int y, int width, int height, osg::Camera *camera) |
A camera class which acts as a wrapper for standard osg::Camera and includes useful methods for proper use of osgPPU.
NOTE: You do not have to use this class, this is just a wrapper for simple usage.
static void osgPPU::Camera::resizeViewport | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height, | |||
osg::Camera * | camera | |||
) | [static] |
Resize camera's viewport. This will also resize camera's attachments if such exists. Call this method when you have resized your window and wish to update the camera to the new size.
Copyright (C) 2008 by Art Tevs (LGPL)