Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
imdl_evaluator_api.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IMDL_EVALUATOR_H
8 #define MI_NEURAYLIB_IMDL_EVALUATOR_H
9 
11 
12 namespace mi {
13 namespace neuraylib {
14 
15 class IExpression;
16 class IFunction_call;
17 class IMaterial_instance;
18 class ITransaction;
19 class IValue_bool;
20 class IValue_factory;
21 
26 class IMdl_evaluator_api : public
28  mi::base::Interface_declare<0x1dc8e8c2,0xa19e,0x4dc9,0xa3,0x0f,0xeb,0xb4,0x0a,0xf1,0x08,0x58>
29 {
30 public:
48  virtual IValue_bool const *is_material_parameter_enabled(
49  ITransaction *trans,
50  IValue_factory *fact,
51  IMaterial_instance const *inst,
52  Size index,
53  Sint32 *error) const = 0;
54 
72  virtual IValue_bool const *is_function_parameter_enabled(
73  ITransaction *trans,
74  IValue_factory *fact,
75  IFunction_call const *call,
76  Size index,
77  Sint32 *error) const = 0;
78 };
79  // end group mi_neuray_mdl_types
81 
82 } // namespace neuraylib
83 } // namespace mi
84 
85 #endif // MI_NEURAYLIB_IMDL_EVALUATOR_H