Iray SDK API nvidia_logo_transpbg.gif Up
imaterial_instance.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2025 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IMATERIAL_INSTANCE_H
8#define MI_NEURAYLIB_IMATERIAL_INSTANCE_H
9
14#include <mi/neuraylib/version.h> // for MI_NEURAYLIB_DEPRECATED_ENUM_VALUE
15
16namespace mi {
17
18namespace neuraylib {
19
24class ICompiled_material;
25class IMdl_execution_context;
26
32class IMaterial_instance : public
33 mi::base::Interface_declare<0x037ec156,0x281d,0x466a,0xa1,0x56,0x3e,0xd6,0x83,0xe9,0x5a,0x00,
34 neuraylib::IScene_element>
35{
36public:
43 MI_NEURAYLIB_DEPRECATED_ENUM_VALUE(COMPILATION_OPTIONS_FORCE_32_BIT, 0xffffffffU)
44 };
45
109 Uint32 flags,
110 IMdl_execution_context* context = nullptr) const = 0;
111};
112 // end group mi_neuray_mdl_elements
114
115} // namespace neuraylib
116
117} // namespace mi
118
119#endif // MI_NEURAYLIB_IMATERIAL_INSTANCE_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface represents a compiled material.
Definition: icompiled_material.h:94
This interface represents a material instance.
Definition: imaterial_instance.h:35
virtual ICompiled_material * create_compiled_material(Uint32 flags, IMdl_execution_context *context=nullptr) const =0
Creates a compiled material.
Compilation_options
Various options for the creation of compiled materials.
Definition: imaterial_instance.h:40
@ CLASS_COMPILATION
Selects class compilation instead of instance compilation.
Definition: imaterial_instance.h:42
@ DEFAULT_OPTIONS
Default compilation options (e.g., instance compilation).
Definition: imaterial_instance.h:41
The execution context can be used to query status information like error and warning messages concern...
Definition: imdl_execution_context.h:163
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
Expressions of the MDL type system.
Scene element Function_call.
API component that gives access to some MDL functionality.
Base class for all scene elements.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Major and minor version number and an optional qualifier.