OpenGUI::Brush_RTT Class Reference

#include <OpenGUI_Brush_RTT.h>

Inheritance diagram for OpenGUI::Brush_RTT:

OpenGUI::Brush List of all members.

Detailed Description

Brush that renders its output to a RenderTexture.


Public Member Functions

 Brush_RTT (Screen *parentScreen, const FVector2 &size)
 Constructor requires a pointer to the Screen that this Brush will eventually be drawn to.
virtual ~Brush_RTT ()
 Destructor.
void emerge (Brush &targetBrush)
 sends the contents of this caching Brush into the output stream of the given Brush
virtual const FVector2getPPU_Raw () const
 Returns the raw (uncorrected) PPU (pixels per unit) of this Brush.
virtual const FVector2getUPI_Raw () const
 Returns the raw (uncorrected) UPI (units per inch) of this Brush.
virtual bool isRTTContext () const
 returns true if the brush context is a render to texture surface
void clear ()
 public access to Brush::_clear()
bool hasContent () const
 returns true if there is content stored that can be emerged

Protected Member Functions

virtual void appendRenderOperation (RenderOperation &renderOp)
 Final output RenderOperations are passed to this function.
virtual void onActivate ()
 Called automatically when this Brush becomes the active Brush.
virtual void onClear ()
 Called when this Brush has been told to clear the contents of its render surface.


Constructor & Destructor Documentation

OpenGUI::Brush_RTT::Brush_RTT ( Screen parentScreen,
const FVector2 size 
)

Constructor requires a pointer to the Screen that this Brush will eventually be drawn to.

OpenGUI::Brush_RTT::~Brush_RTT (  )  [virtual]

Destructor.


Member Function Documentation

void OpenGUI::Brush_RTT::appendRenderOperation ( RenderOperation renderOp  )  [protected, virtual]

Final output RenderOperations are passed to this function.

It is up to specialized Brush implementations to capture final output with this function. At this point, the Brush is guaranteed to already to be active.

Reimplemented from OpenGUI::Brush.

void OpenGUI::Brush_RTT::clear (  )  [inline]

public access to Brush::_clear()

void OpenGUI::Brush_RTT::emerge ( Brush targetBrush  ) 

sends the contents of this caching Brush into the output stream of the given Brush

const FVector2 & OpenGUI::Brush_RTT::getPPU_Raw (  )  const [virtual]

Returns the raw (uncorrected) PPU (pixels per unit) of this Brush.

See also:
Screen::getPPU()

Implements OpenGUI::Brush.

const FVector2 & OpenGUI::Brush_RTT::getUPI_Raw (  )  const [virtual]

Returns the raw (uncorrected) UPI (units per inch) of this Brush.

See also:
Screen::getUPI()

Implements OpenGUI::Brush.

bool OpenGUI::Brush_RTT::hasContent (  )  const [inline]

returns true if there is content stored that can be emerged

virtual bool OpenGUI::Brush_RTT::isRTTContext (  )  const [inline, virtual]

returns true if the brush context is a render to texture surface

Implements OpenGUI::Brush.

void OpenGUI::Brush_RTT::onActivate (  )  [protected, virtual]

Called automatically when this Brush becomes the active Brush.

Implements OpenGUI::Brush.

void OpenGUI::Brush_RTT::onClear (  )  [protected, virtual]

Called when this Brush has been told to clear the contents of its render surface.

The Brush is guaranteed to be active at this point

Implements OpenGUI::Brush.


The documentation for this class was generated from the following files:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:24 2007