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 2024 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>

#include <mi/neuraylib/icanvas_opengl.h>

namespace mi {

namespace neuraylib {








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...