Package | away3d.core.render |
Class | public class DefaultRenderer |
Inheritance | DefaultRenderer RendererBase |
Property | Defined by | ||
---|---|---|---|
antiAlias : uint
The amount of anti-aliasing to use.
| RendererBase | ||
depthPrePass : Boolean
Indicates whether or not the depth buffer should be rendered first in a separate pass.
| DefaultRenderer | ||
swapBackBuffer : Boolean
Indicates whether or not the back buffer should be swapped when rendering is complete.
| RendererBase |
Method | Defined by | ||
---|---|---|---|
DefaultRenderer
(antiAlias:uint = 0, renderMode:String = "auto")
Creates a new DefaultRenderer object.
| DefaultRenderer |
Method | Defined by | ||
---|---|---|---|
Performs the actual drawing of geometry to the target.
| DefaultRenderer | ||
executeRender(entityCollector:EntityCollector, target:TextureBase = null, surfaceSelector:int = 0, additionalClearMask:int = 7):void
Renders the potentially visible geometry to the back buffer or texture.
| DefaultRenderer | ||
updateViewPort():void
Updates the viewport dimensions;
| DefaultRenderer |
depthPrePass | property |
depthPrePass:Boolean
[read-write]Indicates whether or not the depth buffer should be rendered first in a separate pass.
Implementation public function get depthPrePass():Boolean
public function set depthPrePass(value:Boolean):void
stage3DProxy | property |
stage3DProxy:Stage3DProxy
[read-write]Implementation
arcane function get stage3DProxy():Stage3DProxy
arcane function set stage3DProxy(value:Stage3DProxy):void
DefaultRenderer | () | constructor |
public function DefaultRenderer(antiAlias:uint = 0, renderMode:String = "auto")
Parameters
antiAlias:uint (default = 0 ) — The amount of anti-aliasing to use.
|
|
renderMode:String (default = "auto ") — The render mode to use.
|
draw | () | method |
protected override function draw(entityCollector:EntityCollector):void
Performs the actual drawing of geometry to the target.
ParametersentityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
executeRender | () | method |
protected override 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.
ParametersentityCollector: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.
|
render | () | method |
arcane override 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.
ParametersentityCollector: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.
|
updateViewPort | () | method |
protected override function updateViewPort():void
Updates the viewport dimensions;