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.

Constructor

@:value({ renderToTexture : false })new(renderToTexture:Bool = false)

Creates a new RendererBase object.

Variables

Methods

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.