Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.14.77 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Renderer.h
    Go to the documentation of this file.
    1
    2//
    3// Notice
    4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
    5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
    6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
    7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    8//
    9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
    10// information or for any infringement of patents or other rights of third parties that may
    11// result from its use. No license is granted by implication or otherwise under any patent
    12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
    13// expressly authorized by NVIDIA. Details are subject to change without notice.
    14// This code supersedes and replaces all information previously supplied.
    15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
    16// components in life support devices or systems without express written approval of
    17// NVIDIA CORPORATION & AFFILIATES.
    18//
    19// SPDX-FileCopyrightText: Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
    20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
    21//
    22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
    23// property and proprietary rights in and to this material, related
    24// documentation and any modifications thereto. Any use, reproduction,
    25// disclosure or distribution of this material and related documentation
    26// without an express license agreement from NVIDIA CORPORATION or
    27// its affiliates is strictly prohibited.
    28//
    30
    46#ifndef DWVISUALIZATION_RENDERER_H_
    47#define DWVISUALIZATION_RENDERER_H_
    48
    50
    52
    53#ifdef __cplusplus
    54extern "C" {
    55#endif
    56
    57//#######################################################################################
    58const dwVector4f DW_RENDERER_COLOR_BLACK = {0.0f / 255.0f, 0.0f / 255.0f, 0.0f / 255.0f, 1.0f};
    59const dwVector4f DW_RENDERER_COLOR_WHITE = {255.0f / 255.0f, 255.0f / 255.0f, 255.0f / 255.0f, 1.0f};
    60const dwVector4f DW_RENDERER_COLOR_DARKGREY = {72.0f / 255.0f, 72.0f / 255.0f, 72.0f / 255.0f, 1.0f};
    61const dwVector4f DW_RENDERER_COLOR_GREY = {128.0f / 255.0f, 128.0f / 255.0f, 128.0f / 255.0f, 1.0f};
    62const dwVector4f DW_RENDERER_COLOR_LIGHTGREY = {185.0f / 255.0f, 185.0f / 255.0f, 185.0f / 255.0f, 1.0f};
    63
    64const dwVector4f DW_RENDERER_COLOR_DARKBLUE = {45.0f / 255.0f, 44.0f / 255.0f, 100.0f / 255.0f, 0.6f};
    65const dwVector4f DW_RENDERER_COLOR_BLUE = {32.0f / 255.0f, 72.0f / 255.0f, 230.0f / 255.0f, 1.0f};
    66const dwVector4f DW_RENDERER_COLOR_LIGHTBLUE = {51.0f / 255.0f, 153.0f / 255.0f, 255.0f / 255.0f, 0.6f};
    67
    68const dwVector4f DW_RENDERER_COLOR_DARKCYAN = {5.0f / 255.0f, 150.0f / 255.0f, 150.0f / 255.0f, 1.0f};
    69const dwVector4f DW_RENDERER_COLOR_CYAN = {40.0f / 255.0f, 130.0f / 255.0f, 255.0f / 255.0f, 1.0f};
    70const dwVector4f DW_RENDERER_COLOR_LIGHTCYAN = {150.0f / 255.0f, 230.0f / 255.0f, 230.0f / 255.0f, 1.0f};
    71
    72const dwVector4f DW_RENDERER_COLOR_DARKGREEN = {45.0f / 255.0f, 100.0f / 255.0f, 44.0f / 255.0f, 1.0f};
    73const dwVector4f DW_RENDERER_COLOR_GREEN = {32.0f / 255.0f, 230.0f / 255.0f, 32.0f / 255.0f, 1.0f};
    74const dwVector4f DW_RENDERER_COLOR_LIGHTGREEN = {118.0f / 255.0f, 185.0f / 255.0f, 0.0f / 255.0f, 1.0f};
    75const dwVector4f DW_RENDERER_COLOR_NVIDIA_GREEN = {0.4609375f, 0.72265625f, 0.0f, 1.0f};
    76const dwVector4f DW_RENDERER_COLOR_LIME = {227.0f / 255.0f, 255.0f / 255.0f, 0.0f / 255.0f, 1.0f};
    77
    78const dwVector4f DW_RENDERER_COLOR_DARKYELLOW = {242.0f / 255.0f, 186.0f / 255.0f, 73.0f / 255.0f, 1.0f};
    79const dwVector4f DW_RENDERER_COLOR_YELLOW = {230.0f / 255.0f, 230.0f / 255.0f, 10.0f / 255.0f, 1.0f};
    80const dwVector4f DW_RENDERER_COLOR_LIGHTYELLOW = {253.0f / 255.0f, 255.0f / 255.0f, 0.0f / 255.0f, 1.0f};
    81
    82const dwVector4f DW_RENDERER_COLOR_ORANGE = {230.0f / 255.0f, 100.0f / 255.0f, 10.0f / 255.0f, 1.0f};
    83const dwVector4f DW_RENDERER_COLOR_DARKERBROWN = {101.0f / 255.0f, 67.0f / 255.0f, 33.0f / 255.0f, 1.0f};
    84const dwVector4f DW_RENDERER_COLOR_DARKBROWN = {155.0f / 255.0f, 103.0f / 255.0f, 60.0f / 255.0f, 1.0f};
    85const dwVector4f DW_RENDERER_COLOR_LIGHTBROWN = {188.0f / 255.0f, 158.0f / 255.0f, 130.0f / 255.0f, 1.0f};
    86
    87const dwVector4f DW_RENDERER_COLOR_DARKRED = {180.0f / 255.0f, 5.0f / 255.0f, 0.0f / 255.0f, 1.0f};
    88const dwVector4f DW_RENDERER_COLOR_RED = {230.0f / 255.0f, 72.0f / 255.0f, 32.0f / 255.0f, 1.0f};
    89const dwVector4f DW_RENDERER_COLOR_LIGHTRED = {250.0f / 255.0f, 100.0f / 255.0f, 100.0f / 255.0f, 1.0f};
    90
    91const dwVector4f DW_RENDERER_COLOR_DARKMAGENTA = {120.0f / 255.0f, 50.0f / 255.0f, 120.0f / 255.0f, 1.0f};
    92const dwVector4f DW_RENDERER_COLOR_MAGENTA = {230.f / 255.f, 25.f / 255.f, 230.f / 255.f, 1.f};
    93const dwVector4f DW_RENDERER_COLOR_LIGHTMAGENTA = {170.0f / 255.0f, 100.0f / 255.0f, 170.0f / 255.0f, 1.0f};
    94
    95const dwVector4f DW_RENDERER_COLOR_DARKPURPLE = {81.0f / 255.0f, 4.0f / 255.0f, 189.0f / 255.0f, 1.0f};
    96const dwVector4f DW_RENDERER_COLOR_PURPLE = {255.0f / 255.0f, 0.0f / 255.0f, 240.0f / 255.0f, 1.0f};
    97const dwVector4f DW_RENDERER_COLOR_LIGHTPURPLE = {181.0f / 255.0f, 138.0f / 255.0f, 242.0f / 255.0f, 1.0f};
    98
    99const dwVector4f DW_RENDERER_COLOR_DARKSALMON = {233.0f / 255.0f, 150.0f / 255.0f, 122.0f / 255.0f, 1.0f};
    100const dwVector4f DW_RENDERER_COLOR_SALMON = {250.0f / 255.0f, 128.0f / 255.0f, 114.0f / 255.0f, 1.0f};
    101const dwVector4f DW_RENDERER_COLOR_LIGHTSALMON = {255.0f / 255.0f, 160.0f / 255.0f, 122.0f / 255.0f, 1.0f};
    102
    103const dwVector3f DW_RENDERER_HSV_RED = {0.0f, 1.0f, 0.75f};
    104const dwVector3f DW_RENDERER_HSV_BLUE = {240.0f, 1.0f, 0.75f};
    105const dwVector3f DW_RENDERER_HSV_PURPLE = {270.0f, 1.0f, 0.75f};
    106
    108static const uint32_t DW_RENDERBUFFER_MAX_VIEWS = 10;
    109
    110//#######################################################################################
    112const dwVector3f DW_RENDER_COLORMAPSCALE_75M = {75.0f, 75.0f, 75.0f};
    113const dwVector3f DW_RENDER_COLORMAPSCALE_100M = {100.0f, 100.0f, 100.0f};
    114const dwVector3f DW_RENDER_COLORMAPSCALE_130M = {130.0f, 130.0f, 130.0f};
    115const dwVector3f DW_RENDER_COLORMAPSCALE_150M = {150.0f, 150.0f, 150.0f};
    116
    117//#######################################################################################
    119typedef enum dwRendererFonts {
    130
    131//#######################################################################################
    140
    150
    161
    168
    171{
    179
    189
    191static const uint32_t DW_RENDERER_DEFAULT_BUFFER_SIZE = 10000;
    192
    194typedef struct dwRenderBufferObject* dwRenderBufferHandle_t;
    195
    197typedef const struct dwRenderBufferObject* dwConstRenderBufferHandle_t;
    198
    200typedef struct dwRendererObject* dwRendererHandle_t;
    201
    203typedef const struct dwRendererObject* dwConstRendererHandle_t;
    204
    205//#######################################################################################
    206// RenderBuffer
    207//#######################################################################################
    208
    224 const dwRenderBufferVertexLayout layout,
    225 const dwRenderBufferPrimitiveType primType,
    226 const uint32_t primCount,
    245 dwRenderBufferHandle_t renderbuffer,
    246 const dwRenderBufferVertexLayout newLayout,
    247 const dwRenderBufferPrimitiveType newPrimType,
    265 uint32_t* maxVertices,
    266 uint32_t* vertexStride,
    267 dwRenderBufferHandle_t renderbuffer);
    268
    285 uint32_t* maxVertices,
    286 uint32_t* vertexStride,
    287 const uint32_t startVertex,
    288 dwRenderBufferHandle_t renderbuffer);
    304
    315
    328 dwRenderBufferHandle_t renderbuffer);
    329
    330//#######################################################################################
    331// Renderer
    332//#######################################################################################
    346
    356
    367
    368//#######################################################################################
    369// Get state
    370//#######################################################################################
    381
    392
    406
    417
    428
    439
    450
    461
    473
    474//#######################################################################################
    475// Set state
    476//#######################################################################################
    477
    489
    502
    513
    527
    536
    547
    558
    569
    580
    591
    592//#######################################################################################
    593// Render calls
    594//#######################################################################################
    595
    606
    619
    632
    644
    656dwStatus dwRenderer_renderTexture(const GLuint inputTexture, const GLenum textureTarget,
    658
    675dwStatus dwRenderer_renderSubTexture(const GLuint inputTexture, const GLenum textureTarget,
    676 const float32_t minx, const float32_t miny,
    677 const float32_t maxx, const float32_t maxy,
    690dwStatus dwRenderer_renderText(const int32_t x, const int32_t y, const char* text,
    692
    705 const char* text,
    707
    708#ifdef __cplusplus
    709}
    710#endif
    712#endif // DW_VISUALIZATION_RENDERER_H_
    dwStatus
    Status definition.
    Definition: ErrorDefs.h:45
    NVIDIA DriveWorks API: GL Methods
    Defines a 3x3 matrix of floating point numbers by using only one array.
    Definition: MatrixTypes.h:139
    Defines a three-element floating-point vector.
    Definition: MatrixTypes.h:79
    NVIDIA DriveWorks API: Visualization Methods
    float float32_t
    Specifies POD types.
    Definition: BasicTypes.h:59
    struct dwVisualizationContextObject * dwVisualizationContextHandle_t
    Context handle.
    Definition: Visualization.h:67
    dwRenderBufferFormat posFormat
    Definition: Renderer.h:172
    dwRenderBufferPositionSemantic posSemantic
    Definition: Renderer.h:173
    dwRenderBufferFormat colFormat
    Definition: Renderer.h:174
    dwRenderBufferTexSemantic texSemantic
    Definition: Renderer.h:177
    dwRenderBufferFormat texFormat
    Definition: Renderer.h:176
    dwRenderBufferColorSemantic colSemantic
    Definition: Renderer.h:175
    const dwVector4f DW_RENDERER_COLOR_LIGHTYELLOW
    Definition: Renderer.h:80
    const dwVector3f DW_RENDERER_HSV_PURPLE
    Definition: Renderer.h:105
    const dwVector4f DW_RENDERER_COLOR_DARKBLUE
    Definition: Renderer.h:64
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getFont(dwRendererFonts *value, dwConstRendererHandle_t obj)
    Gets current font.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setViewportAndScissorRects(const dwRect viewport, const dwRect scissor, dwRendererHandle_t obj)
    Sets viewport and scissor rectangles in pixel values.
    const struct dwRendererObject * dwConstRendererHandle_t
    Const handle for the renderer.
    Definition: Renderer.h:203
    dwRendererFonts
    Font types and sizes supported by the renderer.
    Definition: Renderer.h:119
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_createView(uint32_t *slot, dwRenderBufferHandle_t renderbuffer, const dwRenderBufferVertexLayout newLayout, const dwRenderBufferPrimitiveType newPrimType, dwVisualizationContextHandle_t context)
    Creates an additional view for a render buffer, allowing you to change layout and primitive type,...
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_mapRange(float32_t **map, uint32_t *maxVertices, uint32_t *vertexStride, const uint32_t startVertex, dwRenderBufferHandle_t renderbuffer)
    Maps a contiguous range of the CPU copy of a RenderBuffer to the application for updating.
    const dwVector4f DW_RENDERER_COLOR_DARKCYAN
    Definition: Renderer.h:68
    const dwVector4f DW_RENDERER_COLOR_LIGHTGREY
    Definition: Renderer.h:62
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getModelView(dwMatrix4f *matrix, dwConstRendererHandle_t obj)
    Gets current ModelView matrix.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getRect(dwRect *rect, dwConstRendererHandle_t obj)
    Gets current rendering screen area expressed in pixel values.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderTexture(const GLuint inputTexture, const GLenum textureTarget, dwRendererHandle_t obj)
    Renders a textured quad on the screen.
    dwRenderBufferTexSemantic
    Vertex component semantics.
    Definition: Renderer.h:163
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_map(float32_t **map, uint32_t *maxVertices, uint32_t *vertexStride, dwRenderBufferHandle_t renderbuffer)
    Maps the CPU copy of a RenderBuffer to the application for updating.
    const struct dwRenderBufferObject * dwConstRenderBufferHandle_t
    Const handle representing vertex data for rendering.
    Definition: Renderer.h:197
    const dwVector4f DW_RENDERER_COLOR_LIME
    Definition: Renderer.h:76
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_reset(dwRendererHandle_t renderer)
    Resets renderer state.
    const dwVector4f DW_RENDERER_COLOR_GREY
    Definition: Renderer.h:61
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_release(dwRenderBufferHandle_t renderbuffer)
    Releases the RenderBuffer data structure.
    dwRenderBufferFormat
    Vertex component channel count and format.
    Definition: Renderer.h:133
    static const uint32_t DW_RENDERER_DEFAULT_BUFFER_SIZE
    The maximum number of vertices that can be passed to a call dwRenderer_renderData3D() or dwRenderer_r...
    Definition: Renderer.h:191
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setRect(const dwRect rect, dwRendererHandle_t obj)
    Sets current rendering screen area expressed in pixel values.
    const dwVector4f DW_RENDERER_COLOR_LIGHTBROWN
    Definition: Renderer.h:85
    const dwVector3f DW_RENDER_COLORMAPSCALE_130M
    Definition: Renderer.h:114
    const dwVector3f DW_RENDER_COLORMAPSCALE_100M
    Definition: Renderer.h:113
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderBuffer(dwConstRenderBufferHandle_t buffer, dwRendererHandle_t obj)
    Renders a RenderBuffer.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_initialize(dwRendererHandle_t *renderer, dwVisualizationContextHandle_t context)
    Initializes a Renderer.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderCircle(dwVector2f center, float32_t radius, dwRendererHandle_t obj)
    Renders a 2D circle.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getProjection(dwMatrix4f *matrix, dwConstRendererHandle_t obj)
    Gets current projection matrix.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setPointSize(const float32_t value, dwRendererHandle_t obj)
    Sets current point size.
    const dwVector4f DW_RENDERER_COLOR_LIGHTPURPLE
    Definition: Renderer.h:97
    const dwVector4f DW_RENDERER_COLOR_PURPLE
    Definition: Renderer.h:96
    dwRenderBufferPrimitiveType
    Render primitives supported by the renderer.
    Definition: Renderer.h:181
    const dwVector4f DW_RENDERER_COLOR_LIGHTRED
    Definition: Renderer.h:89
    struct dwRendererObject * dwRendererHandle_t
    Handle for the renderer.
    Definition: Renderer.h:200
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_get2DTransform(dwMatrix3f *matrix, dwConstRendererHandle_t obj)
    Gets current 2D transformation applied when rendering to the screen.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getColorMapScale(dwVector3f *colorMapScale, dwConstRendererHandle_t obj)
    Gets current rendering color map scale.
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_initialize(dwRenderBufferHandle_t *renderbuffer, const dwRenderBufferVertexLayout layout, const dwRenderBufferPrimitiveType primType, const uint32_t primCount, dwVisualizationContextHandle_t context)
    Initializes a RenderBuffer structure for rendering.
    const dwVector4f DW_RENDERER_COLOR_BLACK
    Definition: Renderer.h:58
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_unmap(uint32_t nVerts, dwRenderBufferHandle_t renderbuffer)
    After a map/mapRange, returns the updated buffer to the RenderBuffer structure and updates the GPU po...
    dwRenderBufferPositionSemantic
    Vertex component semantics.
    Definition: Renderer.h:145
    const dwVector4f DW_RENDERER_COLOR_ORANGE
    Definition: Renderer.h:82
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setModelView(const dwMatrix4f *matrix, dwRendererHandle_t obj)
    Sets current ModelView matrix.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderText(const int32_t x, const int32_t y, const char *text, dwRendererHandle_t obj)
    Renders a text line on the screen.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setFont(const dwRendererFonts value, dwRendererHandle_t obj)
    Sets current font.
    const dwVector4f DW_RENDERER_COLOR_DARKSALMON
    Definition: Renderer.h:99
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderData2D(const dwVector2f *buffer, size_t count, dwRenderBufferPrimitiveType primitiveType, dwRendererHandle_t obj)
    Renders a set of 2D vertices.
    const dwVector4f DW_RENDERER_COLOR_DARKBROWN
    Definition: Renderer.h:84
    const dwVector4f DW_RENDERER_COLOR_CYAN
    Definition: Renderer.h:69
    const dwVector4f DW_RENDERER_COLOR_MAGENTA
    Definition: Renderer.h:92
    const dwVector4f DW_RENDERER_COLOR_DARKGREEN
    Definition: Renderer.h:72
    const dwVector4f DW_RENDERER_COLOR_DARKYELLOW
    Definition: Renderer.h:78
    const dwVector4f DW_RENDERER_COLOR_LIGHTSALMON
    Definition: Renderer.h:101
    const dwVector4f DW_RENDERER_COLOR_RED
    Definition: Renderer.h:88
    const dwVector4f DW_RENDERER_COLOR_GREEN
    Definition: Renderer.h:73
    const dwVector4f DW_RENDERER_COLOR_DARKRED
    Definition: Renderer.h:87
    const dwVector4f DW_RENDERER_COLOR_LIGHTGREEN
    Definition: Renderer.h:74
    const dwVector4f DW_RENDERER_COLOR_WHITE
    Definition: Renderer.h:59
    const dwVector4f DW_RENDERER_COLOR_YELLOW
    Definition: Renderer.h:79
    const dwVector3f DW_RENDER_COLORMAPSCALE_150M
    Definition: Renderer.h:115
    const dwVector4f DW_RENDERER_COLOR_DARKMAGENTA
    Definition: Renderer.h:91
    const dwVector4f DW_RENDERER_COLOR_DARKPURPLE
    Definition: Renderer.h:95
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getLineWidth(float32_t *value, dwConstRendererHandle_t obj)
    Gets current line width, in pixels.
    dwRenderBufferColorSemantic
    Vertex component semantics.
    Definition: Renderer.h:152
    DW_VIZ_API_PUBLIC dwStatus dwRenderBuffer_set2DCoordNormalizationFactors(const float32_t width, const float32_t height, dwRenderBufferHandle_t renderbuffer)
    Sets 2D normalization values when 2D coordinates are specified in pixel values and not in 0....
    const dwVector4f DW_RENDERER_COLOR_NVIDIA_GREEN
    Definition: Renderer.h:75
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_release(dwRendererHandle_t renderer)
    Released the renderer.
    struct dwRenderBufferObject * dwRenderBufferHandle_t
    Handle representing vertex data for rendering.
    Definition: Renderer.h:194
    const dwVector4f DW_RENDERER_COLOR_LIGHTMAGENTA
    Definition: Renderer.h:93
    const dwVector4f DW_RENDERER_COLOR_LIGHTBLUE
    Definition: Renderer.h:66
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderData3D(const dwVector3f *buffer, size_t count, dwRenderBufferPrimitiveType primitiveType, dwRendererHandle_t obj)
    Renders a set of 3D vertices.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getPointSize(float32_t *value, dwConstRendererHandle_t obj)
    Gets current point size.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderTextNorm(const float32_t normX, const float32_t normY, const char *text, dwRendererHandle_t obj)
    Renders a text line on the screen.
    const dwVector3f DW_RENDER_COLORMAPSCALE_75M
    Color map scales - determine the bandwidth of the color spectrum.
    Definition: Renderer.h:112
    const dwVector3f DW_RENDERER_HSV_BLUE
    Definition: Renderer.h:104
    const dwVector4f DW_RENDERER_COLOR_LIGHTCYAN
    Definition: Renderer.h:70
    const dwVector4f DW_RENDERER_COLOR_SALMON
    Definition: Renderer.h:100
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setColorMapScale(const dwVector3f colorMapScale, dwRendererHandle_t obj)
    Sets current rendering color mapping scale.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_renderSubTexture(const GLuint inputTexture, const GLenum textureTarget, const float32_t minx, const float32_t miny, const float32_t maxx, const float32_t maxy, dwRendererHandle_t obj)
    Renders a subrect of a textured quad on the screen.
    const dwVector4f DW_RENDERER_COLOR_BLUE
    Definition: Renderer.h:65
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setProjection(const dwMatrix4f *matrix, dwRendererHandle_t obj)
    Sets current projection matrix.
    const dwVector3f DW_RENDERER_HSV_RED
    Definition: Renderer.h:103
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_getColor(dwVector4f *color, dwConstRendererHandle_t obj)
    Gets current rendering color.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setLineWidth(const float32_t value, dwRendererHandle_t obj)
    Sets current line width, in pixels.
    const dwVector4f DW_RENDERER_COLOR_DARKGREY
    Definition: Renderer.h:60
    static const uint32_t DW_RENDERBUFFER_MAX_VIEWS
    The maximal number of views that can be created in with.
    Definition: Renderer.h:108
    const dwVector4f DW_RENDERER_COLOR_DARKERBROWN
    Definition: Renderer.h:83
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_set2DTransform(const dwMatrix3f *matrix, dwRendererHandle_t obj)
    Sets current 2D transformation applied when rendering to the screen.
    DW_VIZ_API_PUBLIC dwStatus dwRenderer_setColor(const dwVector4f color, dwRendererHandle_t obj)
    Sets current rendering color.
    @ DW_RENDER_FONT_VERDANA_32
    Definition: Renderer.h:125
    @ DW_RENDER_FONT_COUNT
    Definition: Renderer.h:128
    @ DW_RENDER_FONT_VERDANA_48
    Definition: Renderer.h:126
    @ DW_RENDER_FONT_VERDANA_64
    Definition: Renderer.h:127
    @ DW_RENDER_FONT_VERDANA_20
    Definition: Renderer.h:123
    @ DW_RENDER_FONT_VERDANA_12
    Definition: Renderer.h:121
    @ DW_RENDER_FONT_VERDANA_24
    Definition: Renderer.h:124
    @ DW_RENDER_FONT_VERDANA_16
    Definition: Renderer.h:122
    @ DW_RENDER_FONT_VERDANA_8
    Definition: Renderer.h:120
    @ DW_RENDER_SEMANTIC_TEX_NULL
    Definition: Renderer.h:164
    @ DW_RENDER_SEMANTIC_TEX_S
    Definition: Renderer.h:165
    @ DW_RENDER_SEMANTIC_TEX_ST
    Definition: Renderer.h:166
    @ DW_RENDER_FORMAT_R32G32B32A32_FLOAT
    Definition: Renderer.h:135
    @ DW_RENDER_FORMAT_R32G32B32_FLOAT
    Definition: Renderer.h:136
    @ DW_RENDER_FORMAT_R32G32_FLOAT
    Definition: Renderer.h:137
    @ DW_RENDER_FORMAT_R32_FLOAT
    Definition: Renderer.h:138
    @ DW_RENDER_FORMAT_NULL
    Definition: Renderer.h:134
    @ DW_RENDER_PRIM_LINELIST
    Definition: Renderer.h:183
    @ DW_RENDER_PRIM_TRIANGLELIST
    Definition: Renderer.h:184
    @ DW_RENDER_PRIM_LINESTRIP
    Definition: Renderer.h:185
    @ DW_RENDER_PRIM_COUNT
    Definition: Renderer.h:187
    @ DW_RENDER_PRIM_POINTLIST
    Definition: Renderer.h:182
    @ DW_RENDER_PRIM_LINELOOP
    Definition: Renderer.h:186
    @ DW_RENDER_SEMANTIC_POS_XY
    Definition: Renderer.h:147
    @ DW_RENDER_SEMANTIC_POS_XYZ
    Definition: Renderer.h:148
    @ DW_RENDER_SEMANTIC_POS_NULL
    Definition: Renderer.h:146
    @ DW_RENDER_SEMANTIC_COL_RGB
    Definition: Renderer.h:156
    @ DW_RENDER_SEMANTIC_COL_R
    Definition: Renderer.h:154
    @ DW_RENDER_SEMANTIC_COL_HUE
    Definition: Renderer.h:159
    @ DW_RENDER_SEMANTIC_COL_A
    Definition: Renderer.h:155
    @ DW_RENDER_SEMANTIC_COL_LUT
    Definition: Renderer.h:158
    @ DW_RENDER_SEMANTIC_COL_RGBA
    Definition: Renderer.h:157
    @ DW_RENDER_SEMANTIC_COL_NULL
    Definition: Renderer.h:153
    Vertex layout describing format and semantics for position, color, and texture.
    Definition: Renderer.h:171
    #define DW_VIZ_API_PUBLIC
    Definition: Exports.h:49
    Defines a 4x4 matrix of floating point numbers (column major) by using only one array.
    Definition: MatrixTypes.h:153
    Defines a rectangle.
    Defines a two-element single-precision floating-point vector.
    Definition: MatrixTypes.h:49
    Defines a four-element single-precision floating point vector.
    Definition: MatrixTypes.h:96
    人人超碰97caoporen国产