Iray SDK API nvidia_logo_transpbg.gif Up
irender_target_cuda.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IRENDER_TARGET_CUDA_H
8#define MI_NEURAYLIB_IRENDER_TARGET_CUDA_H
9
12
13namespace mi {
14
15namespace neuraylib {
16
24class IRender_target_cuda : public
25 mi::base::Interface_declare<0x13f8ca14,0x0005,0x476c,0xbc,0xef,0xf5,0x04,0x02,0x12,0x4e,0x40,
26 neuraylib::IRender_target_base>
27{
28public:
35 virtual const ICanvas_cuda* get_canvas( Uint32 index) const = 0;
36
43 virtual ICanvas_cuda* get_canvas( Uint32 index) = 0;
44};
45 // end group mi_neuray_rendering
47
48} // namespace neuraylib
49
50} // namespace mi
51
52#endif // MI_NEURAYLIB_IRENDER_TARGET_CUDA_H
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
A render target which is specialized for rendering to CUDA device memory.
Definition: irender_target_cuda.h:27
virtual ICanvas_cuda * get_canvas(Uint32 index)=0
Returns a canvas by index.
virtual const ICanvas_cuda * get_canvas(Uint32 index) const =0
Returns a canvas by index.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
Abstract interface for CUDA canvases.
Abstract interface for render targets.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179