icanvas_opengl.h File Reference
Description
Abstract interface for OpenGL canvases.
Code Example
icanvas_opengl.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_ICANVAS_OPENGL_H
#define MI_NEURAYLIB_ICANVAS_OPENGL_H
#include <mi/neuraylib/icanvas.h>
namespace mi {
namespace neuraylib {
class ICanvas_opengl : public
mi::base::Interface_declare<0x44e76f87,0x36ba,0x4f61,0x90,0x8d,0x35,0x9e,0x15,0x49,0x70,0x01,
neuraylib::ICanvas_base>
{
public:
virtual Sint32
bind_opengl_context() = 0;
virtual Sint32
release_opengl_context() = 0;
virtual Uint32
get_texture_id() const = 0;
};
// end group mi_neuray_rendering
} // namespace neuraylib
} // namespace mi
#endif // MI_NEURAYLIB_ICANVAS_OPENGL_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- Abstract interface for a canvas that represents an OpenGL buffer. More...