- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
Defines RenderEngine related types, structs, and functions.
Data Structures | |
struct | dwRenderEngineParams |
The initialization parameters for a render engine. More... | |
struct | dwRenderEngineTileLayout |
The tile layout for the viewport. More... | |
struct | dwRenderEngineTileState |
The state for a render engine tile. More... | |
Macros | |
#define | DW_RENDER_ENGINE_MAX_PLOTS2D 20 |
Maximum number of plots that can be rendered with a single call of dwRenderEngine_renderPlots2D() More... | |
Typedefs | |
typedef const struct dwRenderEngineObject * | dwConstRenderEngineHandle_t |
Const handle for the render engine. More... | |
typedef dwVector4f | dwRenderEngineColorRGBA |
RGBA render color. More... | |
typedef struct dwRenderEngineObject * | dwRenderEngineHandle_t |
Handle for the render engine. More... | |
Variables | |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_BITTERSWEET = {1.0f, 112.0f / 255.0f, 94.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_BLACK = {0.0f / 255.0f, 0.0f / 255.0f, 0.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_BLUE = {32.0f / 255.0f, 72.0f / 255.0f, 230.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_CYAN = {0.0f, 1.0f, 1.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKBLUE = {45.0f / 255.0f, 44.0f / 255.0f, 100.0f / 255.0f, 0.6f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKBROWN = {101.0f / 255.0f, 67.0f / 255.0f, 33.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKGREEN = {45.0f / 255.0f, 100.0f / 255.0f, 44.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKGREY = {72.0f / 255.0f, 72.0f / 255.0f, 72.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKPURPLE = {70.0f / 255.0f, 39.0f / 255.0f, 89.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_DARKRED = {180.0f / 255.0f, 5.0f / 255.0f, 0.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_GREEN = {32.0f / 255.0f, 230.0f / 255.0f, 32.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_LIGHTBLUE = {51.0f / 255.0f, 153.0f / 255.0f, 255.0f / 255.0f, 0.6f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_LIGHTGREEN = {118.0f / 255.0f, 185.0f / 255.0f, 0.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_LIGHTGREY = {185.0f / 255.0f, 185.0f / 255.0f, 185.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_ORANGE = {230.0f / 255.0f, 100.0f / 255.0f, 10.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_PINK = {1.0f, 113.0f / 255.0f, 181.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_PURPLE = {255.0f / 255.0f, 0.0f / 255.0f, 240.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_RED = {230.0f / 255.0f, 72.0f / 255.0f, 32.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_WHITE = {255.0f / 255.0f, 255.0f / 255.0f, 255.0f / 255.0f, 1.0f} |
static const dwRenderEngineColorRGBA | DW_RENDER_ENGINE_COLOR_YELLOW = {230.0f / 255.0f, 230.0f / 255.0f, 10.0f / 255.0f, 1.0f} |
const uint32_t | DW_RENDER_ENGINE_MAX_TILE_COUNT = 55 |
Maximum number of tiles that can be added. More... | |
struct dwRenderEngineParams |
Data Fields | ||
---|---|---|
dwRectf | bounds | The default display bounds. |
uint32_t | 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. |
dwRenderEngineTileState | defaultTile | The default tile. |
uint32_t | 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. |
struct dwRenderEngineTileLayout |
Data Fields | ||
---|---|---|
float32_t | aspectRatio | The aspect ratio for the tile. |
dwRenderEngineTileLayoutType | positionLayout | The layout indicator for position. |
dwRenderEngineTilePositionType | positionType | The position type that determines how the position coordinates are interpreted. |
dwRenderEngineTileLayoutType | sizeLayout | The layout indicator for size. |
bool | useAspectRatio | Use aspect ratio. |
dwRectf | viewport | The viewport for the tile. |
struct dwRenderEngineTileState |
Data Fields | ||
---|---|---|
dwRenderEngineColorRGBA | backgroundColor | The background color. |
dwRenderEngineColorRGBA | color | Color of the rendering primitives in the tile. |
dwRenderEngineColorByValueMode | colorByValueMode | Color by value mode. |
dwVector2f | coordinateRange2D | The normalization factor for 2D rendering. |
dwRenderEngineFont | font | The font. |
dwRenderEngineTileLayout | layout | The layout which includes the viewport. |
float32_t | lineWidth | The line width. |
dwMatrix4f | modelViewMatrix | The model view matrix. |
float32_t | pointSize | The point size. |
dwMatrix4f | projectionMatrix | The projection matrix for the camera. |
#define DW_RENDER_ENGINE_MAX_PLOTS2D 20 |
Maximum number of plots that can be rendered with a single call of dwRenderEngine_renderPlots2D()
Definition at line 143 of file RenderEngine.h.
typedef const struct dwRenderEngineObject* dwConstRenderEngineHandle_t |
Const handle for the render engine.
Definition at line 60 of file RenderEngine.h.
typedef dwVector4f dwRenderEngineColorRGBA |
RGBA render color.
Definition at line 146 of file RenderEngine.h.
typedef struct dwRenderEngineObject* dwRenderEngineHandle_t |
Handle for the render engine.
Definition at line 58 of file RenderEngine.h.
An enum that controls how primitive colors are rendered.
Definition at line 171 of file RenderEngine.h.
enum dwRenderEngineFont |
The font types for the render engine.
Definition at line 63 of file RenderEngine.h.
An enum that controls the type of plot to render when calling dwRenderEngine_renderPlot2D.
Definition at line 133 of file RenderEngine.h.
When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D.
When rendering 3D data the coordinate system is NDC.
Definition at line 81 of file RenderEngine.h.
The layout indicator for size and position of each tile.
Definition at line 203 of file RenderEngine.h.
The layout indicator for position of each tile.
Definition at line 218 of file RenderEngine.h.
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addSplitScreenTiles | ( | uint32_t * | firstTileId, |
uint32_t * | secondTileId, | ||
bool | horizontal, | ||
const dwRenderEngineTileState * | firstParams, | ||
const dwRenderEngineTileState * | secondParams, | ||
dwRenderEngineHandle_t | engine | ||
) |
Adds two render tiles to the render engine that each take up half of the render area (defined by bounds).
firstTileId | The id of the first tile added (either left or top depending on whether or not horizontal option is chosen). |
secondTileId | The id of the second tile (either right or bottom). |
horizontal | Controls the layout of the two tiles. If true, the tiles are laid out in horizontal rows (top to bottom). If false,the tiles are laid out left to right. |
firstParams | The tile parameters for the first tile. |
secondParams | The tile parameters for the second tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addTile | ( | uint32_t * | tileId, |
const dwRenderEngineTileState * | params, | ||
dwRenderEngineHandle_t | engine | ||
) |
Adds a render tile to the render engine.
By default,the render engine always has 1 tile (tileId == 0) which is defined by the initialization params of the render engine.
tileId | The output tile id that is added. |
params | The tile params to define the settings of the tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_addTilesByCount | ( | uint32_t * | outTileIds, |
uint32_t | tileCount, | ||
uint32_t | maxPerRow, | ||
const dwRenderEngineTileState * | paramsList, | ||
dwRenderEngineHandle_t | engine | ||
) |
Evenly add render tiles to the screen from left to right.
If tiles,do not fill up the space of the render area evenly,the last row of the render tiles will not fill the entire row (that's where the left over tiles get placed).
outTileIds | An array of size tileCount that is populated by ids of the newly added render tiles. |
tileCount | The number of requested tiles to add. |
maxPerRow | The max count of tiles per row. |
paramsList | An array of params with size tileCount for each of the new tiles. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_beginTextBatch | ( | dwRenderEngineHandle_t | engine | ) |
Signal the start of a series of text-drawing calls.
Issuing non-text-rendering calls between beginTextBatch and endTextBatch will cause undefined rendering results.
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_createBuffer | ( | uint32_t * | bufferId, |
dwRenderEnginePrimitiveType | type, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Creates a buffer for static drawing.
This function allocates memory on the heap and GPU. When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left. When rendering 3D data the coordinate system is NDC.
bufferId | Pointer with which to populate handle to buffer. |
type | The type of data to render. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
primitiveCount | The number of primitives in the buffer. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_createImageGLFromFile | ( | dwImageGL * | img, |
const char * | filename, | ||
dwRenderEngineHandle_t | engine | ||
) |
Reads a file from disk and puts it into an dwImageGL.
Currently only supports png format.
img | Pointer to the image. |
filename | File name of the image. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_destroyBuffer | ( | uint32_t | bufferId, |
dwRenderEngineHandle_t | engine | ||
) |
Destroys a buffer for static drawing.
bufferId | Handle to a buffer. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_destroyImageGL | ( | const dwImageGL * | image, |
dwRenderEngineHandle_t | engine | ||
) |
Releases the memory of a dwImageGL.
image | The image. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_endTextBatch | ( | dwRenderEngineHandle_t | engine | ) |
Signal the end of a series of text-drawing calls.
Issuing non-text-rendering calls between beginTextBatch and endTextBatch will cause undefined rendering results.
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBackgroundColor | ( | dwRenderEngineColorRGBA * | color, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current tile background color.
color | Pointer to location with which to populate the current tile color. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBounds | ( | dwRectf * | bounds, |
dwRenderEngineHandle_t | engine | ||
) |
Gets the bounds for the entire render area.
This is used for the layout of the render tiles.
bounds | The pointer to a rect that will be populated with the bounds for the render engine. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getBufferMaxPrimitiveCount | ( | uint32_t * | maxPrimitiveCount, |
uint32_t | bufferId, | ||
dwRenderEngineHandle_t | engine | ||
) |
Get the max renderable primitive count for a buffer.
This is the max primitive count that can be rendered after dwRenderEngine_setBuffer or dwRenderEngine_setBufferPlanarGrid2D/3D or dwRenderEngine_setBufferEllipiticalGrid2D/3D has been called.
[out] | maxPrimitiveCount | A pointer with which to populate the max primitive count. |
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. | |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getColor | ( | dwRenderEngineColorRGBA * | color, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current tile color.
color | Pointer to location with which to populate the current tile color. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getCoordinateRange2D | ( | dwVector2f * | range, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the coordinate range for 2D rendering of the current tile.
This controls the normalization of the data passed into render.
range | The pointer to range where x is the width and y is the height. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getFont | ( | dwRenderEngineFont * | font, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current tile font.
font | Pointer to location with which to populate the current tile font. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getLayout | ( | dwRenderEngineTileLayout * | layout, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the layout of the current tile.
layout | Pointer to the location with which to populate the layout. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getLineWidth | ( | float32_t * | lineWidth, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current tile line width.
lineWidth | Pointer to a location with which to populate the current tile line width. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getModelView | ( | dwMatrix4f * | modelViewMatrix, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the model view matrix for the current tile.
If no tile has been set (
modelViewMatrix | A pointer to the model view matrix of the tile to be filled by this function. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getPointSize | ( | float32_t * | pointSize, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current tile point size.
pointSize | Pointer to a location with which to populate the current tile point size. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getProjection | ( | dwMatrix4f * | projectionMatrix, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the projection matrix for the current tile.
If no tile has been set (
projectionMatrix | A pointer to the projection matrix of the tile to be filled by this function. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getRenderViewport | ( | dwRectf * | viewport, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the render viewport for the current tile.
The render viewport is set internally and cannot be set externally. It is the actual pixel viewport that is used to draw into the tile. If no tile has been set (
viewport | A pointer to the render viewport of the tile to be filled by this function. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getState | ( | dwRenderEngineTileState * | state, |
dwConstRenderEngineHandle_t | engine | ||
) |
Get the current tile state parameters.
state | Pointer location with which to populate the tile state. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getTile | ( | uint32_t * | tileId, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the current render tile id.
tileId | Pointer location of where the function will populate the current tile id. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getTileByScreenCoordinates | ( | uint32_t * | tileId, |
dwVector2f | pixelPosition, | ||
dwVector2f | screenSize, | ||
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the tile id that surrounds the input pixel position.
If multiple tiles surround the same point, the most recently added tile id will be returned.
tileId | The output of the tile that surrounds the input point. |
pixelPosition | The input point. |
screenSize | The size of the window screen. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_getViewport | ( | dwRectf * | viewport, |
dwConstRenderEngineHandle_t | engine | ||
) |
Gets the user-defined viewport for the current tile.
This differs from the render viewport because it is user defined and is used in conjunction with the layout parameters to generate the render viewport. If no tile has been set (
viewport | A pointer to the viewport of the tile to be filled by this function. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initDefaultParams | ( | dwRenderEngineParams * | params, |
uint32_t | width, | ||
uint32_t | height | ||
) |
Initialize params to default.
params | The parameters. |
width | The raster width. |
height | The raster height. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initialize | ( | dwRenderEngineHandle_t * | engine, |
const dwRenderEngineParams * | params, | ||
dwVisualizationContextHandle_t | context | ||
) |
Initializes a render engine handle.
engine | A pointer to a render engine handle. |
params | The initialization params. |
context | The dw context. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_initTileState | ( | dwRenderEngineTileState * | params | ) |
Initialize tile params to default state.
params | The tile parameters. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_mapBuffer | ( | uint32_t | bufferId, |
void ** | buffer, | ||
uint32_t | offsetBytes, | ||
uint32_t | sizeBytes, | ||
dwRenderEnginePrimitiveType | type, | ||
dwRenderEngineHandle_t | engine | ||
) |
maps internal buffer for data operations.
Populate this buffer to render data.
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. |
buffer | The buffer to populate the data with. |
offsetBytes | The offset into the internal buffer. |
sizeBytes | The size to map. |
type | The primitive type to map. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_release | ( | dwRenderEngineHandle_t | engine | ) |
Releases the render engine handle.
engine | The render engine handle to be released. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_removeTile | ( | uint32_t | tileId, |
dwRenderEngineHandle_t | engine | ||
) |
Removes a render tile from the render engine.
tileId | The id of the tile to remove. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_render | ( | dwRenderEnginePrimitiveType | type, |
const void * | buffer, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Render an external buffer.
This method will copy data to the internal buffer. When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left. When rendering 3D data the coordinate system is NDC.
type | The type of data to render. |
buffer | The data. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderBuffer | ( | uint32_t | bufferId, |
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Render the buffer.
When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left. When rendering 3D data the coordinate system is NDC.
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderBufferWithLabels | ( | uint32_t | bufferId, |
dwRenderEnginePrimitiveType | type, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
const char ** | labels, | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Render the internal buffer with labels.
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. |
type | The type of data to render. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
labels | The array of text labels. |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderEllipticalGrid2D | ( | dwRectf | plane, |
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders an elliptical grid in 2D.
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderEllipticalGrid3D | ( | dwRectf | plane, |
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
const dwMatrix4f * | modelMatrix, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders an elliptical grid in 3D.
The ellipse is rendered on the x,y plane with z coordinates set to zero. The ellipse can then be transformed in 3D by the model matrix.
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
modelMatrix | The model matrix that defines where this grid is in the world. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderImage2D | ( | const dwImageGL * | img, |
dwRectf | plane, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders a 2D image within the current tile.
When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left.
img | The image to render. |
plane | The bounds of the image. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderImage3D | ( | const dwImageGL * | img, |
dwRectf | plane, | ||
const dwMatrix4f * | modelMatrix, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders a 2D image in 3D space within the current tile.
When rendering 3D data the coordinate system is NDC.
img | The image to render. |
plane | The plane on which to render the image. |
modelMatrix | The model matrix of the plane within the world. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlanarGrid2D | ( | dwRectf | plane, |
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders a grid in 2D.
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlanarGrid3D | ( | dwRectf | plane, |
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
const dwMatrix4f * | modelMatrix, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders a grid in 3D.
The plane is rendered on the x,y plane with z coordinates set to zero. The plane can then be transformed in 3D by the model matrix.
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
modelMatrix | The model matrix that defines where this grid is in the world. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlot2D | ( | dwRenderEnginePlotType | type, |
const void * | buffer, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
uint32_t | primitiveCount, | ||
const char * | label, | ||
dwVector4f | range, | ||
dwRectf | plane, | ||
dwRenderEngineColorRGBA | axesColor, | ||
float32_t | axesWidth, | ||
const char * | title, | ||
const char * | xLabel, | ||
const char * | yLabel, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders a plot in 2D.
type | The type of plot to render. |
buffer | The data to render. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
primitiveCount | The number of primitives in the data. |
label | The label of the plot data. |
range | The range for the data. The range for the the lower limits can be determined automatically if infinity is passed in for any of the values. X and y represent min x and min y, respectively and z and w represent max x and max y respectively. |
plane | The plane to render the plot in. |
axesColor | The color of the axes. |
axesWidth | The line width of the axes. |
title | The title of the plot. |
xLabel | The label for the x-axis. |
yLabel | The label for the y-axis. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderPlots2D | ( | const dwRenderEnginePlotType * | types, |
const void ** | buffers, | ||
const uint32_t * | vertexStridesBytes, | ||
const uint32_t * | offsetsBytes, | ||
const uint32_t * | bufferCounts, | ||
const dwRenderEngineColorRGBA * | colors, | ||
const float32_t * | lineWidths, | ||
const char ** | labels, | ||
uint32_t | plotsCount, | ||
dwVector4f | range, | ||
dwRectf | plane, | ||
dwRenderEngineColorRGBA | axesColor, | ||
float32_t | axesWidth, | ||
const char * | title, | ||
const char * | xLabel, | ||
const char * | yLabel, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders multiple plots in one graph.
types | The types of plots to render. |
buffers | The buffers for each plot. |
vertexStridesBytes | The strides for each plot of each piece of data. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetsBytes | The offsets for each plot of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
bufferCounts | The sizes of each buffer in buffers. |
colors | The colors for each plot. If null then tile color will be used. |
lineWidths | The line widths or point sizes for each plot. If null, then the tile state will be used. |
labels | The labels for each plot. If null, then no label will be given for each plot. |
plotsCount | The number of buffers. |
range | The range for the data. The range for the the lower limits can be determined automatically if infinity is passed in for any of the values. X and y represent min x and min y, respectively and z and w represent max x and max y respectively. |
plane | The plane to render the plot in. |
axesColor | The color of the axes. |
axesWidth | The line width of the axes. |
title | The title of the plot. |
xLabel | The label for the x-axis. |
yLabel | The label for the y-axis. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderText2D | ( | const char * | text, |
dwVector2f | pos, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders text within the current tile.
When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left.
text | The pointer to the text structure. |
pos | The position in 2D of the text. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderText3D | ( | const char * | text, |
dwVector3f | pos, | ||
dwRenderEngineHandle_t | engine | ||
) |
Renders text within the current tile.
When rendering 3D data the coordinate system is NDC.
text | The pointer to the text structure. |
pos | The position of the text to be rendered in 3D. This will ultimately be mapped to the correct 2D position by the function,as text only renders in 2D. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderWithLabel | ( | dwRenderEnginePrimitiveType | type, |
const void * | buffer, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
const char * | label, | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Render an external buffer with one label.
This method will copy data to the internal buffer. When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left. When rendering 3D data the coordinate system is NDC.
type | The type of data to render. |
buffer | The data. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
label | The text label. |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_renderWithLabels | ( | dwRenderEnginePrimitiveType | type, |
const void * | buffer, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
const char * | labels[], | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Render an external buffer with labels.
This method will copy data to the internal buffer. When rendering 2D data the coordinate system is always from 0 to 1, unless changed by calling dwRenderEngine_setCoordinateRange2D. The origin is at the top left. When rendering 3D data the coordinate system is NDC.
type | The type of data to render. |
buffer | The data. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
labels | The array of text labels. |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_reset | ( | dwRenderEngineHandle_t | engine | ) |
Resets the state of all render tiles and clears the display.
Sets the current render tile to the default render tile 0.
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_resetTile | ( | dwRenderEngineHandle_t | engine | ) |
Resets the state of the current tile and clears the display.
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_screenToWorld3D | ( | dwVector3f * | worldPosition, |
dwVector2f | pixelPosition, | ||
dwVector2f | screenSize, | ||
dwRenderEngineHandle_t | engine | ||
) |
Get the world coordinate in 3D based on screen pixel input.
worldPosition | The output world position in 3D. |
pixelPosition | The pixel position. |
screenSize | The size of the window screen. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBackgroundColor | ( | dwRenderEngineColorRGBA | color, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the background color of the current tile.
color | The color. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBounds | ( | dwRectf | bounds, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the bounds for the entire render area.
This is used for the layout of the render tiles. For example if you wanted to only use a portion of the window for the render engine, the bounds should be set to only a portion of the window. This would then only allow tiles to be rendered within these bounds.
bounds | The rect defining the bounds in the window. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBuffer | ( | uint32_t | bufferId, |
dwRenderEnginePrimitiveType | type, | ||
const void * | buffer, | ||
uint32_t | vertexStrideBytes, | ||
uint32_t | offsetBytes, | ||
uint32_t | primitiveCount, | ||
dwRenderEngineHandle_t | engine | ||
) |
Set the data for a buffer.
This is useful for static data.
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. |
type | The type of data to render. |
buffer | The data. |
vertexStrideBytes | The stride of each vertex. This should be the total size of each element passed into render. For example, if passing in an array of structs, it should be the size of the struct, even if that struct contains more than just the vertex. |
offsetBytes | The offset of each piece of data. This should be to offset in bytes to the primitive data. For example, if passing in an array of structs, and each struct contains an x,y position of a 2D point then this needs to be the offset to the x,y fields. If the x,y fields are the 2nd and 3rd elements of the struct and the first field is an int, then the offset should be sizeof(int). |
primitiveCount | The number of primitives to render. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferEllipticalGrid2D | ( | uint32_t | bufferId, |
dwRectf | plane, | ||
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
dwRenderEngineHandle_t | engine | ||
) |
Fills a buffer with an elliptical grid in 2D.
bufferId | The buffer id to fill. |
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferEllipticalGrid3D | ( | uint32_t | bufferId, |
dwRectf | plane, | ||
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
const dwMatrix4f * | modelMatrix, | ||
dwRenderEngineHandle_t | engine | ||
) |
Fills a buffer with an elliptical grid in 3D.
The ellipse is rendered on the x,y plane with z coordinates set to zero. The ellipse can then be transformed in 3D by the model matrix.
bufferId | The buffer id to fill. |
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
modelMatrix | The model matrix that defines where this grid is in the world. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferPlanarGrid2D | ( | uint32_t | bufferId, |
dwRectf | plane, | ||
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
dwRenderEngineHandle_t | engine | ||
) |
Fills a buffer with a grid in 2D.
bufferId | The buffer id to fill. |
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setBufferPlanarGrid3D | ( | uint32_t | bufferId, |
dwRectf | plane, | ||
float32_t | xSpacing, | ||
float32_t | ySpacing, | ||
const dwMatrix4f * | modelMatrix, | ||
dwRenderEngineHandle_t | engine | ||
) |
Fills a buffer with a grid in 3D.
The planeis rendered on the x,y plane with z coordinates set to zero. The plane can then be transformed in 3D by the model matrix.
bufferId | The buffer id to fill. |
plane | This plane defines the center point (x,y) and the radius in the x, y directions (width, height). |
xSpacing | The spacing of the lines in the x direction. |
ySpacing | The spacing of the lines in the y direction. |
modelMatrix | The model matrix that defines where this grid is in the world. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setColor | ( | dwRenderEngineColorRGBA | color, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the foreground drawing color of the current tile.
color | The color. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setColorByValue | ( | dwRenderEngineColorByValueMode | mode, |
float32_t | scale, | ||
dwRenderEngineHandle_t | engine | ||
) |
Sets the color of the primitives to be rendered based on their values.
mode | The mode by which to interpolate the color values. |
scale | The scale represents how far before the color gamut recycles. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setCoordinateRange2D | ( | dwVector2f | range, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the coordinate range for 2D rendering of the current tile.
If passing in data that is not from 0 to 1 for 2D rendering, this function will modulate the normalization factors to put the data automatically in the 0 to 1 range. If rendering image space coordinates, this should be the width and height of the image.
range | The range where x is the width and y is the height. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setFont | ( | dwRenderEngineFont | font, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the font for text drawn in the current tile.
font | The font. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLayout | ( | dwRenderEngineTileLayout | layout, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the layout of the current tile.
layout | The layout of the current tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLineWidth | ( | float32_t | lineWidth, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the line width of the current tile.
lineWidth | The line width. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLookAt | ( | dwVector3f | eye, |
dwVector3f | center, | ||
dwVector3f | up, | ||
dwRenderEngineHandle_t | engine | ||
) |
Sets the model view matrix for the current tile.
eye | The eye vector. |
center | The center vector. |
up | The up vector. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setLookAtByAngles | ( | float32_t | xAngleRadians, |
float32_t | yAngleRadians, | ||
float32_t | distance, | ||
dwVector3f | center, | ||
dwVector3f | up, | ||
dwRenderEngineHandle_t | engine | ||
) |
Defines the camera position on a sphere surface around a center point, with the camera looking towards that center point.
The position on the sphere surface is defined by 2 angles and a distance. Defines the look at eye vector by angles and distance with the following equation: dwVector3f eye{}; eye.x = distance * cos(yAngleRadians) * cos(xAngleRadians); eye.y = distance * cos(yAngleRadians) * sin(xAngleRadians); eye.z = distance * sin(yAngleRadians);
xAngleRadians | The x angle in radians for the eye vector. |
yAngleRadians | The y angle in radians for the eye vector. |
distance | The distance from the center for the eye vector. |
center | The center vector. |
up | The up vector. |
engine | The render engine. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setModelView | ( | const dwMatrix4f * | modelViewMatrix, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the model view matrix for the current tile.
If no tile has been set (
modelViewMatrix | A pointer to the model view matrix of the tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setOrthoProjection | ( | float32_t | left, |
float32_t | right, | ||
float32_t | bottom, | ||
float32_t | top, | ||
float32_t | near, | ||
float32_t | far, | ||
dwRenderEngineHandle_t | engine | ||
) |
Sets up an orthographic projection for the current tile.
left | The left of the ortho projection. |
right | The right of the ortho projection. |
bottom | The bottom of the ortho projection. |
top | The top of the ortho projection. |
near | The near plane. |
far | The far plane. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setPerspectiveProjection | ( | float32_t | fovRadsY, |
float32_t | aspect, | ||
float32_t | near, | ||
float32_t | far, | ||
dwRenderEngineHandle_t | engine | ||
) |
Sets the projection matrix for the current tile as defined by the parameters.
fovRadsY | The field of view in the y direction in radians. |
aspect | The aspect ratio. |
near | The near threshold. |
far | The far threshold. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setPointSize | ( | float32_t | pointSize, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the point size of the current tile.
pointSize | The point size. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setProjection | ( | const dwMatrix4f * | projectionMatrix, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the projection matrix for the current tile.
If no tile has been set (
projectionMatrix | A pointer to the projection matrix of the tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setState | ( | const dwRenderEngineTileState * | state, |
dwRenderEngineHandle_t | engine | ||
) |
Set the current tile state parameters.
state | The state of the tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setTile | ( | uint32_t | tileId, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the state of the engine to be a particular tile.
All render engine calls that follow will be bound to this tile.
tileId | The id of the tile. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_setViewport | ( | dwRectf | viewport, |
dwRenderEngineHandle_t | engine | ||
) |
Sets the user-defined viewport which is used in conjunction with the other layout parameters to compute the render viewport.
viewport | The viewport bounds. If no tile has been set ( |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_unmapBuffer | ( | uint32_t | bufferId, |
dwRenderEnginePrimitiveType | type, | ||
dwRenderEngineHandle_t | engine | ||
) |
Unmaps the internal buffer.
bufferId | Handle to a buffer added with dwRenderEngine_addBuffer. |
type | The primitive type to unmap. |
engine | The render engine handle. |
DW_VIZ_API_PUBLIC dwStatus dwRenderEngine_world3DToScreen | ( | dwVector2f * | pixelPosition, |
dwVector3f | worldPosition, | ||
dwVector2f | screenSize, | ||
dwRenderEngineHandle_t | engine | ||
) |
Get the screen coordinate in based on world 3D input.
pixelPosition | The output pixel position. |
worldPosition | The input world position in 3D. |
screenSize | The size of the window screen. |
engine | The render engine handle. |
|
static |
Definition at line 167 of file RenderEngine.h.
|
static |
Definition at line 162 of file RenderEngine.h.
|
static |
Definition at line 151 of file RenderEngine.h.
|
static |
Definition at line 164 of file RenderEngine.h.
|
static |
Definition at line 158 of file RenderEngine.h.
|
static |
Definition at line 165 of file RenderEngine.h.
|
static |
Definition at line 154 of file RenderEngine.h.
|
static |
Definition at line 157 of file RenderEngine.h.
|
static |
Definition at line 166 of file RenderEngine.h.
|
static |
Definition at line 149 of file RenderEngine.h.
|
static |
Definition at line 152 of file RenderEngine.h.
|
static |
Definition at line 161 of file RenderEngine.h.
|
static |
Definition at line 155 of file RenderEngine.h.
|
static |
Definition at line 156 of file RenderEngine.h.
|
static |
Definition at line 160 of file RenderEngine.h.
|
static |
Definition at line 163 of file RenderEngine.h.
|
static |
Definition at line 150 of file RenderEngine.h.
|
static |
Definition at line 148 of file RenderEngine.h.
|
static |
Definition at line 153 of file RenderEngine.h.
|
static |
Definition at line 159 of file RenderEngine.h.
const uint32_t DW_RENDER_ENGINE_MAX_TILE_COUNT = 55 |
Maximum number of tiles that can be added.
Definition at line 76 of file RenderEngine.h.