neuray API Programmer's Manual

Miscellaneous MDL-related Interfaces

[Neuray API]

Description

MDL-related interfaces excluding types, scene elements, and the compiler.

Classes

class 
Allows to bake a varying or uniform expression of a compiled material into a texture or constant. More...
class 
Represents a deserialized function name. More...
class 
Represents a deserialized module name. More...
class 
Represents the manifest in an MDL archive. More...
class 
This API component provides functionality related to MDL archives. More...
class 
This interface can be used to obtain the MDL backends. More...
class 
Provides access to various functions to inspect the compatibility between MDL modules and archives. More...
class 
Provides access to various functionality related to MDL distilling. More...
class 
The entity resolver is used to resolve MDL modules and resources in such modules. More...
class 
Provides access to various functions for the evaluation of MDL expressions. More...
class 
The execution context can be used to query status information like error and warning messages concerning the operation it was passed into. More...
class 
Factory for various MDL interfaces and functions. More...
class 
API component for MDL related import and export operations. More...
class 
Interface of a loading wait handle. More...
class 
Interface of a loading wait handle factory. More...
class 
The module builder allows to create new MDL modules. More...
class 
The module transformer allows to apply certain transformations on an MDL module. More...
class 
Describes a resolved module (or a failed attempt). More...
class 
Describes an ordered set of resolved resource elements. More...
class 
Describes an ordered set of resolved resource entities. More...
class 
Provides access to functions related to the creation of encapsulated MDL modules (MDLE). More...
class 
Callback to map references to MDLE modules during deserialization. More...
class 
Callback to map references to MDLE modules during serialization. More...
class 
Message interface. More...
class 
Represents a serialized function name. More...

Enumerations

enum mi::neuraylib::Baker_resource{ BAKE_ON_CPU, BAKE_ON_GPU, BAKE_ON_GPU_WITH_CPU_FALLBACK, BAKER_RESOURCE_FORCE_32_BIT = 0xffffffffU}
Identifies the resource(s) to be used by a baker. More...
enum mi::neuraylib::Df_data_kind{ DFK_NONE, DFK_INVALID, DFK_SIMPLE_GLOSSY_MULTISCATTER, DFK_BACKSCATTERING_GLOSSY_MULTISCATTER, DFK_BECKMANN_SMITH_MULTISCATTER, DFK_BECKMANN_VC_MULTISCATTER, DFK_GGX_SMITH_MULTISCATTER, DFK_GGX_VC_MULTISCATTER, DFK_WARD_GEISLER_MORODER_MULTISCATTER, DFK_SHEEN_MULTISCATTER, DFK_FORCE_32_BIT = 0xffffffffU}
Possible kinds of distribution function data.
enum mi::neuraylib::Uvtile_mode{ UVTILE_MODE_NONE = 0, UVTILE_MODE_UDIM = 1, UVTILE_MODE_UVTILE0 = 2, UVTILE_MODE_UVTILE1 = 3, UVTILE_MODE_FORCE_32_BIT = 0xffffffffU}
Supported uvtile modes for resources. More...

Enums

enum mi::neuraylib::Baker_resource

Identifies the resource(s) to be used by a baker.

See also:

mi::neuraylib::IMdl_distiller_api::create_baker()

Enumerator:

BAKE_ON_CPU
Use only the CPU for texture baking.
BAKE_ON_GPU
Use only the GPU for texture baking.
BAKE_ON_GPU_WITH_CPU_FALLBACK
Prefer using the GPU for texture baking, use the CPU as fallback.
BAKER_RESOURCE_FORCE_32_BIT = 0xffffffffU
enum mi::neuraylib::Df_data_kind

Possible kinds of distribution function data.

Enumerator:

DFK_NONE
DFK_INVALID
DFK_SIMPLE_GLOSSY_MULTISCATTER
DFK_BACKSCATTERING_GLOSSY_MULTISCATTER
DFK_BECKMANN_SMITH_MULTISCATTER
DFK_BECKMANN_VC_MULTISCATTER
DFK_GGX_SMITH_MULTISCATTER
DFK_GGX_VC_MULTISCATTER
DFK_WARD_GEISLER_MORODER_MULTISCATTER
DFK_SHEEN_MULTISCATTER
DFK_FORCE_32_BIT = 0xffffffffU
enum mi::neuraylib::Uvtile_mode

Supported uvtile modes for resources. For light profiles and BSDF measurements only mi::neuraylib::UVTILE_MODE_NONE is valid.

See also:

mi::neuraylib::IImage::reset_file() for details about the different modes.

Enumerator:

UVTILE_MODE_NONE = 0
No uvtile mode.
UVTILE_MODE_UDIM = 1
The UDIM uvtile mode.
UVTILE_MODE_UVTILE0 = 2
The UVTILE0 uvtile mode.
UVTILE_MODE_UVTILE1 = 3
The UVTILE1 uvtile mode.
UVTILE_MODE_FORCE_32_BIT = 0xffffffffU