The DefaultRenderer class provides the default rendering method. It renders the scene graph objects using the materials assigned to them.

Constructor

new()

Creates a new DefaultRenderer object.

Parameters:

antiAlias

The amount of anti-aliasing to use.

renderMode

The render mode to use.

Inherited Variables

Inherited Methods

Defined by RendererBase

queueSnapshot(bmd:BitmapData):Void

@:value({ surfaceSelector : 0, scissorRect : null, target : null })render(entityCollector:EntityCollector, ?target:TextureBase, ?scissorRect:Rectangle, surfaceSelector:Int = 0):Void

Renders the potentially visible geometry to the back buffer or texture.

Parameters:

entityCollector

The EntityCollector object containing the potentially visible geometry.

target

An option target texture to render to.

surfaceSelector

The index of a CubeTexture's face to render to.

additionalClearMask

Additional clear mask information, in case extra clear channels are to be omitted.