The initialization parameters for a render engine.
Definition at line 305 of file RenderEngine.h.
Data Fields | |
dwRectf | bounds |
The default display bounds. More... | |
dwRenderEngineTileState | defaultTile |
The default tile. More... | |
uint32_t | bufferSize |
Default buffer size for rendering primitives in bytes. More... | |
uint32_t | maxBufferCount |
Maximum static buffer count. More... | |
dwRectf dwRenderEngineParams::bounds |
The default display bounds.
Definition at line 308 of file RenderEngine.h.
uint32_t dwRenderEngineParams::bufferSize |
Default buffer size for rendering primitives in bytes.
This buffer size is used to allocate an internal GPU buffer which is then used when rendering data. Any data that is passed into dwRenderEngine_render will be copied directly to the GPU. This means that if you choose to have an array of structs but only the first two entries in that struct represent the data to be rendered, you can pass it directly to render without massaging the data but your initial buffer size must be large enough to handle it.
Definition at line 322 of file RenderEngine.h.
dwRenderEngineTileState dwRenderEngineParams::defaultTile |
The default tile.
Definition at line 310 of file RenderEngine.h.
uint32_t dwRenderEngineParams::maxBufferCount |
Maximum static buffer count.
This is used for dwRenderEngine_addBuffer and dwRenderEngine_removeBuffer. It allocates buffers for static rendering. Internally, the default bufferId (0) always exists and any extra buffers are allocated by this amount.
Definition at line 329 of file RenderEngine.h.