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.
antiAlias:uint
[read-write]
The amount of anti-aliasing to use.
Implementation
public function get antiAlias():uint
public function set antiAlias(value:uint):void
backBufferHeight:int
[read-write]Implementation
arcane function get backBufferHeight():int
arcane function set backBufferHeight(value:int):void
protected var _backBufferInvalid:Boolean
backBufferWidth:int
[read-write]Implementation
arcane function get backBufferWidth():int
arcane function set backBufferWidth(value:int):void
protected var _backgroundB:Number = 0
backgroundB:Number
[read-write]Implementation
arcane function get backgroundB():Number
arcane function set backgroundB(value:Number):void
protected var _backgroundG:Number = 0
backgroundG:Number
[read-write]Implementation
arcane function get backgroundG():Number
arcane function set backgroundG(value:Number):void
protected var _backgroundR:Number = 0
backgroundR:Number
[read-write]Implementation
arcane function get backgroundR():Number
arcane function set backgroundR(value:Number):void
protected var _context:Context3D
protected var _contextIndex:int = -1
protected var _renderableSorter:EntitySorterBase
protected var _stage3DProxy:Stage3DProxy
stage3DProxy:Stage3DProxy
[read-write]
Implementation
arcane function get stage3DProxy():Stage3DProxy
arcane function set stage3DProxy(value:Stage3DProxy):void
swapBackBuffer:Boolean
[read-write]
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
protected var _viewPortHeight:Number = 1
viewPortHeight:Number
[read-write]Implementation
arcane function get viewPortHeight():Number
arcane function set viewPortHeight(value:Number):void
protected var _viewPortWidth:Number = 1
viewPortWidth:Number
[read-write]Implementation
arcane function get viewPortWidth():Number
arcane function set viewPortWidth(value:Number):void
protected var _viewPortX:Number = 0
viewPortX:Number
[read-write]Implementation
arcane function get viewPortX():Number
arcane function set viewPortX(value:Number):void
protected var _viewPortY:Number = 0
viewPortY:Number
[read-write]Implementation
arcane function get viewPortY():Number
arcane function set viewPortY(value:Number):void
public function RendererBase(antiAlias:uint = 0, enableDepthAndStencil:Boolean = true, renderMode:String = "auto")
Parameters
| antiAlias:uint (default = 0 ) — Indicates whether semi-transparent objects should be rendered.
|
|
| enableDepthAndStencil:Boolean (default = true ) — The amount of anti-aliasing to be used.
|
|
| renderMode:String (default = "auto ") — The render mode to be used.
|
Init Parameters
protected function draw(entityCollector:EntityCollector):void
Performs the actual drawing of geometry to the target.
Parameters
| entityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
protected function executeRender(entityCollector:EntityCollector, target:TextureBase = null, surfaceSelector:int = 0, additionalClearMask:int = 7):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.
|
|
| surfaceSelector:int (default = 0 ) — The index of a CubeTexture's face to render to.
|
|
| additionalClearMask:int (default = 7 ) — Additional clear mask information, in case extra clear channels are to be omitted.
|
arcane function render(entityCollector:EntityCollector, target:TextureBase = null, surfaceSelector:int = 0, additionalClearMask:int = 7):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.
|
|
| surfaceSelector:int (default = 0 ) — The index of a CubeTexture's face to render to.
|
|
| additionalClearMask:int (default = 7 ) — Additional clear mask information, in case extra clear channels are to be omitted.
|
protected function updateViewPort():void
Updates the viewport dimensions;