Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

new

Description

Instantiate a framebuffer object.

Arguments

1 number width

the width of the framebuffer.

2 number height

the height of the framebuffer.

3 number priority

the priority for rendering the framebuffer in the priorityRenderer.

4 string format

the format of the framebuffer. Refer to love2d documentation for this.

5 bool skipAdd

whether the addition of this framebuffer object to the priorityRenderer should be skipped.

Returns

1 frameBufferInstance

an instance of the newly created framebuffer object