Adapter

Base class for core rendering logic

Members

Functions

closeWindow
void closeWindow()

Closes the window

endDraw
void endDraw()

Currently the entire rendering pass for the active Scene. TODO: Refactor the name

getDepthAtScreenPoint
float getDepthAtScreenPoint(vec2ui point)

Read from the depth buffer at the given point.

getObjectIDAtScreenPoint
uint getObjectIDAtScreenPoint(vec2ui point)

Read from the depth buffer at the given point.

initialize
void initialize()

Initializes the Adapter, called in loading

initializeDeferredRendering
void initializeDeferredRendering()

TODO: Remove in favor of pipelines

loadProperties
void loadProperties()

Loads rendering properties from Config

messageLoop
void messageLoop()

TODO

openWindow
void openWindow()

Opens the window

refresh
void refresh()

Reloads the Adapter without closing

resize
void resize()

Resizes the window and updates FBOs

shutdown
void shutdown()

Shuts down the Adapter

swapBuffers
void swapBuffers()

Swaps the back buffer to the screen

Meta