Flx3DRenderBuffer is a BitmapData which a 3D scene is rendered onto. This is the underlying framebuffer used by Flx3DScene, so it doesn't usually need to be instantiated manually outside of advanced use cases.

Constructor

@:value({ maxSize : 0 })new(width:Int, height:Int, maxSize:Int = 0)

Parameters:

width

Desired width of the framebuffer.

height

Desired height of the framebuffer.

maxSize

Maximum amount of members allowed in the objects group.

Variables

bgColor:FlxColor

The 3D scene's clear colour.

camera3D:Flx3DCamera

The 3D scene's camera.

read onlyobjects:Flx3DSceneContainer

An FlxContainer containing all of the objects in the scene. (Dev note: should this be renamed?)

Methods

dispose():Void

Frees memory that is used to store the Flx3DRenderBuffer object, as well as the 'objects' group.

render():Void

Renders the scene.

resize(width:Int, height:Int):Void

Changes the size of the view.

update(elapsed:Float):Void