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.


Can't be created directly


Has properties:

viewWidth

Number

viewHeight

Number

renderToTexture

[read-only] True/False

renderableSorter

(RenderableMergeSort or similar)

clearOnRender

True/False

backgroundR

Number

backgroundG

Number

backgroundB

Number

stage3DProxy

(Stage3DProxy)

shareContext

True/False

backgroundAlpha

Number

background

(Texture2DBase)

backgroundImageRenderer

[read-only] (BackgroundImageRenderer)

antiAlias

Int

textureRatioX

Number

textureRatioY

Number


Methods:

createEntityCollector()

Returns empty EntityCollector.


dispose()

Disposes the resources used by the RendererBase.


render(entityCollector, target, scissorRect, surfaceSelector)

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

entityCollector - (EntityCollector), The EntityCollector object containing the potentially visible geometry.

target - (TextureBase), An option target texture to render to. Default nil,

scissorRect - (Rectangle), Default nil,

surfaceSelector - Int, The index of a CubeTexture's face to render to. Default 0

queueSnapshot(bmd)

Will draw the renderer's output on next render to the provided bitmap data.

bmd - (BitmapData)



Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites