Iray SDK API nvidia_logo_transpbg.gif Up
irender_target_opengl.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_OPENGL_H
8#define MI_NEURAYLIB_IRENDER_TARGET_OPENGL_H
9
11
13
14namespace mi {
15
16namespace neuraylib {
17
30 mi::base::Interface_declare<0x1d4f071e,0x93b3,0x4fc8,0x80,0x7a,0xda,0xf7,0xfd,0x73,0x3a,0x6b,
31 neuraylib::IRender_target_base>
32{
33public:
40 virtual const ICanvas_opengl* get_canvas( Uint32 index) const = 0;
41
48 virtual ICanvas_opengl* get_canvas( Uint32 index) = 0;
49};
50 // end group mi_neuray_rendering
52
53} // namespace neuraylib
54
55} // namespace mi
56
57#endif // MI_NEURAYLIB_IRENDER_TARGET_OPENGL_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Abstract interface for a canvas that represents an OpenGL buffer.
Definition: icanvas_opengl.h:35
Abstract interface for a render target which is specialized for rendering to an OpenGL buffer.
Definition: irender_target_opengl.h:32
virtual ICanvas_opengl * get_canvas(Uint32 index)=0
Returns a canvas by index.
virtual const ICanvas_opengl * 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 OpenGL canvases.
Abstract interface for render targets.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179