NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
icanvas_opengl.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ICANVAS_OPENGL_H
9 #define MI_NEURAYLIB_ICANVAS_OPENGL_H
10 
11 #include <mi/neuraylib/icanvas.h>
12 
13 namespace mi {
14 
15 namespace neuraylib {
16 
21 class ICanvas_opengl : public
29  mi::base::Interface_declare<0x44e76f87,0x36ba,0x4f61,0x90,0x8d,0x35,0x9e,0x15,0x49,0x70,0x01,
30  neuraylib::ICanvas_base>
31 {
32 public:
42  virtual Sint32 bind_opengl_context() = 0;
43 
53  virtual Sint32 release_opengl_context() = 0;
54 
60  virtual Uint32 get_texture_id() const = 0;
61 };
62  // end group mi_neuray_rendering
64 
65 } // namespace neuraylib
66 
67 } // namespace mi
68 
69 #endif // MI_NEURAYLIB_ICANVAS_OPENGL_H