This interface represents a material instance. More...
Public Types | |
enum | Compilation_options { DEFAULT_OPTIONS = 0, CLASS_COMPILATION = 1 } |
Various options for the creation of compiled materials. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
This interface represents a material instance.
This interface is almost obsolete. See Materials are functions and mi::neuraylib::IFunction_call. The only remaining purpose is the method create_compiled_material() and the associated enum Compilation_options.
Various options for the creation of compiled materials.
Enumerator | |
---|---|
DEFAULT_OPTIONS |
Default compilation options (e.g., instance compilation). |
CLASS_COMPILATION |
Selects class compilation instead of instance compilation. |
|
pure virtual |
Creates a compiled material.
flags | A bitmask of flags of type Compilation_options. | |
[in,out] | context | An optional pointer to an execution context which can be used to pass compilation options to the MDL compiler. The following options are supported for this operation:
|
NULL
in case of failure.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |