Interface Flow3D
access this type via: ui.Flow3D (provides, requires or uses)
Flow3D is a direct rendering API for 3D graphics, generally used by applications such as video games. All of the functions in this API must only be called from the main thread of your program.
Functions
Flow3D(storeFlowRender renderer)
void point(Vertex point)
void line(Vertex a, Vertex b)
void vertices(Vertex vertices[], optional Color color)
void triangleStrip(Vertex vertices[], optional bool cullBack)
Flow3D(storeFlowRender renderer)
Initialise a new direct rendering canvas, specifying the target renderer.
void point(Vertex point)
Draw a single-pixel point at the given location and with the given color.
void line(Vertex a, Vertex b)
Draw a line between two points, the given description of size, position, and color.
void vertices(Vertex vertices[], optional Color color)
Draw a line between two points, the given description of size, position, and color.
void triangleStrip(Vertex vertices[], optional bool cullBack)
Draw a filled rectangle using the given description of size, position, and color.