neuray API Programmer's Manual

irender_target.h File Reference

Description

Abstract interface for render targets.

Code Example

irender_target.h

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

#ifndef MI_NEURAYLIB_IRENDER_TARGET_H
#define MI_NEURAYLIB_IRENDER_TARGET_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {

class ICanvas;




















class IRender_target_base : public
    mi::base::Interface_declare<0x8aafab6e,0x57d9,0x4816,0x87,0xfe,0x9f,0x97,0x9b,0xc9,0xc2,0xbf>
{
public:
    virtual Uint32 
               get_canvas_count() const = 0;

    virtual const char* get_canvas_name( Uint32 index) const = 0;
};

class IRender_target : public
    mi::base::Interface_declare<0xd4dff23d,0x9b42,0x48d4,0x80,0x01,0x8c,0x9a,0x13,0x51,0x83,0x69,
                                neuraylib::IRender_target_base>
{
public:
    virtual const ICanvas* get_canvas( Uint32 index) const = 0;

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

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IRENDER_TARGET_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. More...
class 
Abstract interface for a render target (base class). More...