RendererBase forms an abstract base class for classes that are used in the rendering pipeline to render geometry
to the back buffer or a texture.
protected var _antiAlias:uint
protected var _backgroundAlpha:Number = 1
protected var _backgroundB:Number = 0
protected var _backgroundG:Number = 0
protected var _backgroundR:Number = 0
protected var _context:Context3D
protected var _renderTarget:TextureBase
protected var _renderTargetSurface:int
protected var _renderToTexture:Boolean
protected var _shareContext:Boolean = false
protected var _stage3DProxy:Stage3DProxy
protected var _swapBackBuffer:Boolean = true
protected var _textureRatioX:Number = 1
protected var _textureRatioY:Number = 1
protected var _viewHeight:Number
protected var _viewWidth:Number
antiAlias:uint
Implementation public function get antiAlias():uint
public function set antiAlias(value:uint):void
background:Texture2DBase
Implementation arcane function get background():Texture2DBase
arcane function set background(value:Texture2DBase):void
backgroundAlpha:Number
Implementation arcane function get backgroundAlpha():Number
arcane function set backgroundAlpha(value:Number):void
backgroundB:Number
Implementation arcane function get backgroundB():Number
arcane function set backgroundB(value:Number):void
backgroundG:Number
Implementation arcane function get backgroundG():Number
arcane function set backgroundG(value:Number):void
backgroundImageRenderer:BackgroundImageRenderer
[read-only]
Implementation public function get backgroundImageRenderer():BackgroundImageRenderer
backgroundR:Number
Implementation arcane function get backgroundR():Number
arcane function set backgroundR(value:Number):void
renderableSorter:EntitySorterBase
Implementation public function get renderableSorter():EntitySorterBase
public function set renderableSorter(value:EntitySorterBase):void
renderToTexture:Boolean
[read-only]
Implementation arcane function get renderToTexture():Boolean
shareContext:Boolean
Implementation arcane function get shareContext():Boolean
arcane function set shareContext(value:Boolean):void
stage3DProxy:Stage3DProxy
Implementation arcane function get stage3DProxy():Stage3DProxy
arcane function set stage3DProxy(value:Stage3DProxy):void
swapBackBuffer:Boolean
Indicates whether or not the back buffer should be swapped when rendering is complete.
Implementation public function get swapBackBuffer():Boolean
public function set swapBackBuffer(value:Boolean):void
textureRatioX:Number
Implementation arcane function get textureRatioX():Number
arcane function set textureRatioX(value:Number):void
textureRatioY:Number
Implementation arcane function get textureRatioY():Number
arcane function set textureRatioY(value:Number):void
viewHeight:Number
Implementation arcane function get viewHeight():Number
arcane function set viewHeight(value:Number):void
viewWidth:Number
Implementation arcane function get viewWidth():Number
arcane function set viewWidth(value:Number):void
public function RendererBase(renderToTexture:Boolean = false)
Creates a new RendererBase object.
Parameters | renderToTexture:Boolean (default = false )
|
arcane function createEntityCollector():EntityCollector
Returns protected function draw(entityCollector:EntityCollector, target:TextureBase):void
Performs the actual drawing of geometry to the target.
Parameters
| entityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
|
| target:TextureBase |
protected function executeRender(entityCollector:EntityCollector, target:TextureBase = null, scissorRect:Rectangle = null, surfaceSelector:int = 0):void
Renders the potentially visible geometry to the back buffer or texture. Only executed if everything is set up.
Parameters
| entityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
|
| target:TextureBase (default = null ) — An option target texture to render to.
|
|
| scissorRect:Rectangle (default = null ) — The index of a CubeTexture's face to render to.
|
|
| surfaceSelector:int (default = 0 ) — Additional clear mask information, in case extra clear channels are to be omitted.
|
protected function executeRenderToTexturePass(entityCollector:EntityCollector):void
Parameters
public function queueSnapshot(bmd:BitmapData):void
Parameters
arcane function render(entityCollector:EntityCollector, target:TextureBase = null, scissorRect:Rectangle = null, surfaceSelector:int = 0):void
Renders the potentially visible geometry to the back buffer or texture.
Parameters
| entityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
|
| target:TextureBase (default = null ) — An option target texture to render to.
|
|
| scissorRect:Rectangle (default = null ) — The index of a CubeTexture's face to render to.
|
|
| surfaceSelector:int (default = 0 ) — Additional clear mask information, in case extra clear channels are to be omitted.
|
Tue Jul 17 2012, 10:37 AM +01:00