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

$cam : Camera *
$ZOrder=0 : int
$left=0 : Real
$top=0 : Real
$width=1 : Real
$height=1 : Real

Returns

Viewport *

$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

$state : bool

Returns

void

$obj->isAutoUpdated()

Returns

bool

$obj->setAutoUpdated($autoupdate)

Parameter types

$autoupdate : bool

Returns

void

$obj->getName()

Returns

String

$obj->getWidth()

Returns

unsigned int

$obj->getHeight()

Returns

unsigned int

$obj->getColourDepth()

Returns

unsigned int

$obj->getNumViewports()

Returns

unsigned short

$obj->getViewport($index)

Parameter types

$index : unsigned short

Returns

Viewport *

$obj->removeViewport($zOrder)

Parameter types

$zOrder : int

Returns

void

$obj->removeAllViewports()

Returns

void

$obj->getPriority()

Returns

uchar

$obj->setPriority($priority)

Parameter types

$priority : uchar

Returns

void

$obj->writeContentsToFile($filename)

Parameter types

$filename : String

Returns

void

$obj->writeContentsToTimestampedFile($filenamePrefix, $filenameSuffix)

Parameter types

$filenamePrefix : String
$filenameSuffix : String

Returns

String

$obj->requiresTextureFlipping()

Returns

bool

$obj->getCustomAttributePtr($name)

Parameter types

$name : String

Returns

size_t

$obj->getCustomAttributeInt($name)

Parameter types

$name : String

Returns

int

$obj->getCustomAttributeFloat($name)

Parameter types

$name : String

Returns

Real

$obj->getCustomAttributeStr($name)

Parameter types

$name : String

Returns

String

$obj->getCustomAttributeBool($name)

Parameter types

$name : String

Returns

bool

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .