neuray API Programmer's Manual

irender_target_opengl.h File Reference

Description

Abstract interface for OpenGL render targets.

Code Example

irender_target_opengl.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IRENDER_TARGET_OPENGL_H
#define MI_NEURAYLIB_IRENDER_TARGET_OPENGL_H

#include <mi/neuraylib/irender_target.h>

namespace mi {

namespace neuraylib {

class ICanvas_opengl;








class IRender_target_opengl : public
    mi::base::Interface_declare<0x1d4f071e,0x93b3,0x4fc8,0x80,0x7a,0xda,0xf7,0xfd,0x73,0x3a,0x6b, 
                                neuraylib::IRender_target_base>
{
public:
    virtual const ICanvas_opengl* get_canvas( Uint32 index) const = 0;

    virtual ICanvas_opengl* get_canvas( Uint32 index) = 0;
};
 // end group mi_neuray_rendering

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IRENDER_TARGET_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 render target which is specialized for rendering to an OpenGL buffer. More...