7#ifndef MI_NEURAYLIB_ICANVAS_CUDA_H
8#define MI_NEURAYLIB_ICANVAS_CUDA_H
26 mi::base::Interface_declare<0x211963f4,0x31c1,0x4583,0x81,0x4b,0x5,0x24,0x69,0xa8,0xc,0x27,
27 neuraylib::ICanvas_base>
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Abstract interface for a canvas with CUDA device memory storage.
Definition: icanvas_cuda.h:28
virtual const void * get_data(Uint32 layer=0) const =0
Returns a pointer to the raw pixel data according to the pixel type of the canvas.
virtual Uint32 get_resolution_x() const =0
Returns the number of pixels in x direction.
virtual void * get_data(Uint32 layer=0)=0
Returns a pointer to the raw pixel data according to the pixel type of the canvas.
virtual Sint32 get_cuda_device_id() const =0
Returns the CUDA device id that owns the device memory storage for this canvas.
virtual Uint32 get_resolution_y() const =0
Returns the number of pixels in y direction.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Abstract interface for canvases.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89