NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
dwRenderEngineParams Struct Reference

Detailed Description

The initialization parameters for a render engine.

Definition at line 305 of file RenderEngine.h.

Collaboration diagram for dwRenderEngineParams:

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...
 

Field Documentation

◆ bounds

dwRectf dwRenderEngineParams::bounds

The default display bounds.

Definition at line 308 of file RenderEngine.h.

◆ bufferSize

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.

◆ defaultTile

dwRenderEngineTileState dwRenderEngineParams::defaultTile

The default tile.

Definition at line 310 of file RenderEngine.h.

◆ maxBufferCount

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.


The documentation for this struct was generated from the following file: