NAME
Ogre::RenderTarget
SYNOPSIS
use Ogre;
use Ogre::RenderTarget;
# (for now see examples/README.txt)
DESCRIPTION
See the online API documentation at http://www.ogre3d.org/docs/api/html/classOgre_1_1RenderTarget.html
Note: this Perl binding is currently experimental and subject to API changes.
INSTANCE METHODS
$obj->addViewport($cam, $ZOrder=0, $left=0, $top=0, $width=1, $height=1)
Parameter types
Returns
$obj->getMetrics($OUTLIST unsigned int width, $OUTLIST unsigned int height, $OUTLIST unsigned int colourDepth)
Parameter types
- $OUTLIST unsigned int width : (no info available)
- $OUTLIST unsigned int height : (no info available)
- $OUTLIST unsigned int colourDepth : (no info available)
Returns
- void
$obj->resetStatistics()
Returns
- void
$obj->getLastFPS()
Returns
- Real
$obj->getAverageFPS()
Returns
- Real
$obj->getBestFPS()
Returns
- Real
$obj->getWorstFPS()
Returns
- Real
$obj->getBestFrameTime()
Returns
- Real
$obj->getWorstFrameTime()
Returns
- Real
$obj->getTriangleCount()
Returns
- size_t
$obj->getBatchCount()
Returns
- size_t
$obj->update()
Returns
- void
$obj->isPrimary()
Returns
- bool
$obj->isActive()
Returns
- bool
$obj->setActive($state)
Parameter types
Returns
- void
$obj->isAutoUpdated()
Returns
- bool
$obj->setAutoUpdated($autoupdate)
Parameter types
Returns
- void
$obj->getName()
Returns
- String
$obj->getWidth()
Returns
$obj->getHeight()
Returns
$obj->getColourDepth()
Returns
$obj->getNumViewports()
Returns
$obj->getViewport($index)
Parameter types
Returns
$obj->removeViewport($zOrder)
Parameter types
Returns
- void
$obj->removeAllViewports()
Returns
- void
$obj->getPriority()
Returns
- uchar
$obj->setPriority($priority)
Parameter types
Returns
- void
$obj->writeContentsToFile($filename)
Parameter types
Returns
- void
$obj->writeContentsToTimestampedFile($filenamePrefix, $filenameSuffix)
Parameter types
Returns
- String
$obj->requiresTextureFlipping()
Returns
- bool
$obj->getCustomAttributePtr($name)
Parameter types
Returns
- size_t
$obj->getCustomAttributeInt($name)
Parameter types
Returns
- int
$obj->getCustomAttributeFloat($name)
Parameter types
Returns
- Real
$obj->getCustomAttributeStr($name)
Parameter types
Returns
- String
$obj->getCustomAttributeBool($name)
Parameter types
Returns
- bool
AUTHOR
Scott Lanning <slanning@cpan.org>
For licensing information, see README.txt .