MDL SDK API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IMaterial_definition Class Referenceabstract

This interface represents a material definition. More...

Inheritance diagram for mi::neuraylib::IMaterial_definition:
mi::base::Interface_declare< 0x73753e3d, 0x62e4, 0x41a7, 0xa8, 0xf5, 0x37, 0xeb, 0xda, 0xd9, 0x01, 0xd9, neuraylib::IScene_element > mi::neuraylib::IScene_element mi::base::Interface_declare< 0x8a2a4da9, 0xe323, 0x452c, 0xb8, 0xda, 0x92, 0x45, 0x67, 0x85, 0xd7, 0x78, neuraylib::IAttribute_set > mi::neuraylib::IAttribute_set mi::base::Interface_declare< 0x1bcb8d48, 0x10c1, 0x4b3e, 0x9b, 0xfa, 0x06, 0x23, 0x61, 0x81, 0xd3, 0xe1 > mi::base::IInterface

Public Member Functions

virtual const char * get_module () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_module(). More...
 
virtual const char * get_mdl_name () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_mdl_name(). More...
 
virtual const char * get_mdl_module_name () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_mdl_module_name(). More...
 
virtual const char * get_mdl_simple_name () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_mdl_simple_name(). More...
 
virtual const char * get_mdl_parameter_type_name (Size index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_mdl_parameter_type_name(). More...
 
virtual const char * get_prototype () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_prototype(). More...
 
virtual void get_mdl_version (Mdl_version &since, Mdl_version &removed) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_mdl_version(). More...
 
virtual
IFunction_definition::Semantics 
get_semantic () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_semantic(). More...
 
virtual bool is_exported () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::is_exported(). More...
 
virtual const ITypeget_return_type () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_return_type(). More...
 
virtual Size get_parameter_count () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_parameter_count(). More...
 
virtual const char * get_parameter_name (Size index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_parameter_name(). More...
 
virtual Size get_parameter_index (const char *name) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_parameter_index(). More...
 
virtual const IType_listget_parameter_types () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_parameter_types(). More...
 
virtual const IExpression_listget_defaults () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_defaults(). More...
 
virtual const IExpression_listget_enable_if_conditions () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_enable_if_conditions(). More...
 
virtual Size get_enable_if_users (Size index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_enable_if_users(). More...
 
virtual Size get_enable_if_user (Size index, Size u_index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_enable_if_user(). More...
 
virtual const IAnnotation_blockget_annotations () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_annotations(). More...
 
virtual const IAnnotation_blockget_return_annotations () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_return_annotations(). More...
 
virtual const IAnnotation_listget_parameter_annotations () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_parameter_annotations(). More...
 
virtual const char * get_thumbnail () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_thumbnail(). More...
 
virtual bool is_valid (IMdl_execution_context *context) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::is_valid(). More...
 
virtual const
IExpression_direct_call
get_body () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_body(). More...
 
virtual Size get_temporary_count () const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_temporary_count(). More...
 
virtual const IExpressionget_temporary (Size index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_temporary(). More...
 
virtual const char * get_temporary_name (Size index) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::get_temporary_name(). More...
 
template<class T >
const T * get_temporary (Size index) const
 See Materials are functions and mi::neuraylib::IFunction_definition::get_temporary_name(). More...
 
virtual IMaterial_instancecreate_material_instance (const IExpression_list *arguments, Sint32 *errors=0) const =0
 See Materials are functions and mi::neuraylib::IFunction_definition::create_function_call(). More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x73753e3d, 0x62e4, 0x41a7, 0xa8, 0xf5, 0x37, 0xeb, 0xda, 0xd9, 0x01, 0xd9, neuraylib::IScene_element >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IScene_element
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x73753e3d, 0x62e4, 0x41a7, 0xa8, 0xf5, 0x37, 0xeb, 0xda, 0xd9, 0x01, 0xd9, neuraylib::IScene_element >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

This interface represents a material definition.

This interface is obsolete. See Materials are functions and mi::neuraylib::IFunction_definition.

Member Function Documentation

virtual IMaterial_instance* mi::neuraylib::IMaterial_definition::create_material_instance ( const IExpression_list arguments,
Sint32 errors = 0 
) const
pure virtual
virtual const IAnnotation_block* mi::neuraylib::IMaterial_definition::get_annotations ( ) const
pure virtual
virtual const IExpression_direct_call* mi::neuraylib::IMaterial_definition::get_body ( ) const
pure virtual
virtual const IExpression_list* mi::neuraylib::IMaterial_definition::get_defaults ( ) const
pure virtual
virtual const IExpression_list* mi::neuraylib::IMaterial_definition::get_enable_if_conditions ( ) const
pure virtual
virtual Size mi::neuraylib::IMaterial_definition::get_enable_if_user ( Size  index,
Size  u_index 
) const
pure virtual
virtual Size mi::neuraylib::IMaterial_definition::get_enable_if_users ( Size  index) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_mdl_module_name ( ) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_mdl_name ( ) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_mdl_parameter_type_name ( Size  index) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_mdl_simple_name ( ) const
pure virtual
virtual void mi::neuraylib::IMaterial_definition::get_mdl_version ( Mdl_version since,
Mdl_version removed 
) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_module ( ) const
pure virtual
virtual const IAnnotation_list* mi::neuraylib::IMaterial_definition::get_parameter_annotations ( ) const
pure virtual
virtual Size mi::neuraylib::IMaterial_definition::get_parameter_count ( ) const
pure virtual
virtual Size mi::neuraylib::IMaterial_definition::get_parameter_index ( const char *  name) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_parameter_name ( Size  index) const
pure virtual
virtual const IType_list* mi::neuraylib::IMaterial_definition::get_parameter_types ( ) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_prototype ( ) const
pure virtual
virtual const IAnnotation_block* mi::neuraylib::IMaterial_definition::get_return_annotations ( ) const
pure virtual
virtual const IType* mi::neuraylib::IMaterial_definition::get_return_type ( ) const
pure virtual
virtual IFunction_definition::Semantics mi::neuraylib::IMaterial_definition::get_semantic ( ) const
pure virtual
virtual const IExpression* mi::neuraylib::IMaterial_definition::get_temporary ( Size  index) const
pure virtual
template<class T >
const T* mi::neuraylib::IMaterial_definition::get_temporary ( Size  index) const
inline
virtual Size mi::neuraylib::IMaterial_definition::get_temporary_count ( ) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_temporary_name ( Size  index) const
pure virtual
virtual const char* mi::neuraylib::IMaterial_definition::get_thumbnail ( ) const
pure virtual
virtual bool mi::neuraylib::IMaterial_definition::is_exported ( ) const
pure virtual
virtual bool mi::neuraylib::IMaterial_definition::is_valid ( IMdl_execution_context context) const
pure virtual