neuray API Programmer's Manual

ishader_connections.h File Reference

Description

Scene element Shader_connections.

Code Example

ishader_connections.h

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

#ifndef MI_NEURAYLIB_ISHADER_CONNECTIONS_H
#define MI_NEURAYLIB_ISHADER_CONNECTIONS_H

#include <mi/neuraylib/istring.h>
#include <mi/base/interface_declare.h>
#include <mi/neuraylib/iscene_element.h>
#include <mi/neuraylib/version.h>

namespace mi {

namespace neuraylib {

class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_connections) :
    public base::Interface_declare<0x1c944e21,0x839a,0x4d61,0xad,0x81,0x17,0xb4,0x16,0x10,0x19,0xe7>
{
public:
    virtual Sint32 add_connection( const char* target_selector, const char* source_selector) = 0;

    virtual Sint32 remove_connection( const char* target_selector) = 0;

    virtual Uint32 get_connection_length( const char* target_name) const = 0;

    virtual const IString* get_connection_target_selector(
        const char* target_name,
        Uint32 connection_number) const = 0;

    virtual const IString* get_connection_source_selector(
        const char* target_name,
        Uint32 connection_number) const = 0;
};

} // namespace neuraylib

#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_connections);
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION

} // namespace mi

#endif // MI_NEURAYLIB_ISHADER_CONNECTIONS_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...