The Render Engine provides an API for drawing points, lines, triangles, boxes, ellipses, and grids.
Below are the parameters for the initialization of the Render Engine:
The bounds are the display boundaries for the Render Engine.
The Render Engine works by rendering into tiles. More tiles can be added, but there is one tile initially. This is the default tile. This default tile state represents the state of that tile.
This is the default buffer size for rendering primitives in bytes. It is used to allocate an internal GPU buffer which is then used when rendering data.
The maximum static buffer count is used when calling dwRenderEngine_addbuffer and dwRenderEngine_removeBuffer. It allocates buffers for static rendering.
Here is a simple example to render a list of 3 random 3D boxes:
For more examples of how to use the Render Engine see: