ishader_graph_class.h File Reference
Description
Scene element Shader_graph_class.
Code Example
ishader_graph_class.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_ISHADER_GRAPH_CLASS_H
#define MI_NEURAYLIB_ISHADER_GRAPH_CLASS_H
#include <mi/neuraylib/iscene_element.h>
#include <mi/neuraylib/version.h>
namespace mi {
namespace neuraylib {
class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader);
class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph);
class IAttribute_container;
class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph_class) :
public base::Interface_declare<0x167536d2,0x1815,0x4496,0x8a,0xfb,0x64,0xec,0x78,0x28,0x2a,0xb3,
neuraylib::IScene_element>
{
public:
virtual Sint32 create_metasl_graph( const char* name, Uint8 privacy = 0) const = 0;
virtual Sint32 create_shader_graph( const char* name, Uint8 privacy = 0) const = 0;
virtual const IAttribute_container* access_input_parameters() const = 0;
virtual Sint32 add_node( const char* node_name, const char* class_name) = 0;
virtual Sint32 add_export( const char* node_name, const char* class_name) = 0;
virtual const MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader)*
access_shader( const char* node_name) const = 0;
virtual MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader)*
edit_shader( const char* node_name) const = 0;
virtual const MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph)*
access_shader_graph( const char* node_name) const = 0;
virtual MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph)*
edit_shader_graph( const char* node_name) const = 0;
virtual const char* get_filename() const = 0;
virtual Uint32 get_node_count() const = 0;
virtual const char* get_node_name( Uint32 index) const = 0;
};
} // namespace neuraylib
#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IAttribute_container;
using neuraylib::IScene_element;
using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader);
using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph);
using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_graph_class);
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
} // namespace mi
#endif // MI_NEURAYLIB_ISHADER_GRAPH_CLASS_H