|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DWGL_IMAGE_IMAGE_H_
30 #define DWGL_IMAGE_IMAGE_H_
32 #include <dw/image/Image.h>
34 #include <dwvisualization/core/Exports.h>
35 #include <dwvisualization/gl/GL.h>
132 #endif // DWGL_IMAGE_IMAGE_H_
Defines a GL texture image.
#define DW_MAX_IMAGE_PLANES
DW_VIZ_API_PUBLIC dwStatus dwImage_createGL(dwImageHandle_t *image, dwImageProperties properties, dwContextHandle_t ctx)
Creates and allocates resources for a dwImageHandle_t based on the properties passed as input.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
GLuint tex
Specifies the OpenGL texture handle.
DW_VIZ_API_PUBLIC dwStatus dwImage_createAndBindBufferGL(dwImageHandle_t *image, dwImageProperties properties, void *buffersIn[DW_MAX_IMAGE_PLANES], size_t pitches[DW_MAX_IMAGE_PLANES], size_t bufferCount, dwContextHandle_t ctx)
Works only with DW_IMAGE_GL and DW_IMAGE_LAYOUT_BLOCK (or DEFAULT) memory layout, in which case the b...
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
dwImageProperties prop
Specifies the properties of the image.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Defines the properties of the image.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_VIZ_API_PUBLIC dwStatus dwImage_createAndBindTexture(dwImageHandle_t *image, dwImageProperties properties, GLenum texID, GLenum target)
Creates a dwImageHandle_t based on the properties passed and binds a GL texture to it.
struct dwImageObject * dwImageHandle_t
dwStatus
Status definition.
GLenum target
Specifies the OpenGL texture target.
struct dwImageGL dwImageGL
Defines a GL texture image.
DW_VIZ_API_PUBLIC dwStatus dwImage_getGL(dwImageGL **imageGL, dwImageHandle_t image)
Retrieves the dwImageGL of a dwImageHandle_t.
#define DW_VIZ_API_PUBLIC