osgPPU::Camera Class Reference

Camera class which can be used with osgPPU. More...


Static Public Member Functions

static void resizeViewport (int x, int y, int width, int height, osg::Camera *camera)


Detailed Description

Camera class which can be used with osgPPU.

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Back to Homepage of osgPPU

Copyright (C) 2008 by Art Tevs (LGPL)