|
| using | tct_float = float |
| | A float. More...
|
| |
| using | tct_float2 = mi::Float32_2_struct |
| | A float2. More...
|
| |
| using | tct_float3 = mi::Float32_3_struct |
| | A float3. More...
|
| |
| using | tct_float4 = mi::Float32_4_struct |
| | A float4. More...
|
| |
| using | tct_int = mi::Sint32 |
| | An int. More...
|
| |
| using | tct_uint = mi::Uint32 |
| | An unsigned int. More...
|
| |
| using | tct_bool = bool |
| | A bool. More...
|
| |
| using | tct_deriv_float = tct_traits<true>::tct_derivable_float |
| | A float with derivatives. More...
|
| |
| using | tct_deriv_float2 = tct_traits<true>::tct_derivable_float2 |
| | A float2 with derivatives. More...
|
| |
| using | tct_deriv_float3 = tct_traits<true>::tct_derivable_float3 |
| | A float3 with derivatives. More...
|
| |
| using | tct_deriv_float4 = tct_traits<true>::tct_derivable_float4 |
| | A float4 with derivatives. More...
|
| |
| using | tct_deriv_arr_float_2 = tct_deriv< float[2]> |
| | A float[2] with derivatives (needed to avoid problems with wrong alignment). More...
|
| |
| using | tct_deriv_arr_float_3 = tct_deriv< float[3]> |
| | A float[3] with derivatives (needed to avoid problems with wrong alignment). More...
|
| |
| using | tct_deriv_arr_float_4 = tct_deriv< float[4]> |
| | A float[4] with derivatives (needed to avoid problems with wrong alignment). More...
|
| |
| using | Shading_state_material = Shading_state_material_impl<false> |
| | The MDL material state structure. More...
|
| |
| using | Shading_state_material_with_derivs = Shading_state_material_impl<true> |
| | The MDL material state structure with derivatives for the texture coordinates. More...
|
| |
| using | Texture_handler_vtable = Texture_handler_vtable_impl<false> |
| | The texture handler vtable struct. More...
|
| |
| using | Texture_handler_deriv_vtable = Texture_handler_vtable_impl<true> |
| | The texture handler vtable struct with derivatives for the texture coordinates. More...
|
| |
| using | Environment_function = void(void *result, Shading_state_environment const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of environment functions created via mi::neuraylib::IMdl_backend::translate_environment() and mi::neuraylib::ILink_unit::add_function(). More...
|
| |
| using | Material_expr_function = void(void *result, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of material expression functions created via mi::neuraylib::IMdl_backend::translate_material_expression() and mi::neuraylib::ILink_unit::add_material_expression(). More...
|
| |
| using | Material_expr_function_with_derivs = void(void *result, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of material expression functions created via mi::neuraylib::IMdl_backend::translate_material_expression() and mi::neuraylib::ILink_unit::add_material_expression(). More...
|
| |
| using | Bsdf_init_function = void(Shading_state_material *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the initialization function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_init_function_with_derivs = void(Shading_state_material_with_derivs *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the initialization function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_sample_function = void(Bsdf_sample_data *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the importance sampling function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_sample_function_with_derivs = void(Bsdf_sample_data *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the importance sampling function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_evaluate_function = void(Bsdf_evaluate_data_base *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the evaluation function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_evaluate_function_with_derivs = void(Bsdf_evaluate_data_base *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the evaluation function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_pdf_function = void(Bsdf_pdf_data *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the probability density function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_pdf_function_with_derivs = void(Bsdf_pdf_data *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the probability density function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_auxiliary_function = void(Bsdf_auxiliary_data_base *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the auxiliary function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Bsdf_auxiliary_function_with_derivs = void(Bsdf_auxiliary_data_base *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the auxiliary function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_init_function = void(Shading_state_material *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the initialization function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_init_function_with_derivs = void(Shading_state_material_with_derivs *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the initialization function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_sample_function = void(Edf_sample_data *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the importance sampling function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_sample_function_with_derivs = void(Edf_sample_data *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the importance sampling function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_evaluate_function = void(Edf_evaluate_data_base *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the evaluation function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_evaluate_function_with_derivs = void(Edf_evaluate_data_base *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the evaluation function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_pdf_function = void(Edf_pdf_data *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the probability density function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_pdf_function_with_derivs = void(Edf_pdf_data *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the probability density function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_auxiliary_function = void(Edf_auxiliary_data_base *data, Shading_state_material const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the auxiliary function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
| using | Edf_auxiliary_function_with_derivs = void(Edf_auxiliary_data_base *data, Shading_state_material_with_derivs const *state, Resource_data const *res_data, char const *arg_block_data) |
| | Signature of the auxiliary function for material distribution functions created via mi::neuraylib::IMdl_backend::translate_material_df() and mi::neuraylib::ILink_unit::add_material_df(). More...
|
| |
|
| enum | Propagation_type : Uint32 {
PROPAGATION_STANDARD
,
PROPAGATION_OVERRIDE
} |
| | Propagation types for attribute inheritance. More...
|
| |
| enum | Bsdf_type : Uint32 {
BSDF_SCALAR = 0
,
BSDF_RGB = 1
} |
| | The BSDF type. More...
|
| |
| enum | Material_slot : Uint32 {
SLOT_THIN_WALLED
,
SLOT_SURFACE_SCATTERING
,
SLOT_SURFACE_EMISSION_EDF_EMISSION
,
SLOT_SURFACE_EMISSION_INTENSITY
,
SLOT_SURFACE_EMISSION_MODE
,
SLOT_BACKFACE_SCATTERING
,
SLOT_BACKFACE_EMISSION_EDF_EMISSION
,
SLOT_BACKFACE_EMISSION_INTENSITY
,
SLOT_BACKFACE_EMISSION_MODE
,
SLOT_IOR
,
SLOT_VOLUME_SCATTERING
,
SLOT_VOLUME_ABSORPTION_COEFFICIENT
,
SLOT_VOLUME_SCATTERING_COEFFICIENT
,
SLOT_VOLUME_EMISSION_INTENSITY
,
SLOT_GEOMETRY_DISPLACEMENT
,
SLOT_GEOMETRY_CUTOUT_OPACITY
,
SLOT_GEOMETRY_NORMAL
,
SLOT_HAIR
,
SLOT_FIRST = SLOT_THIN_WALLED
,
SLOT_LAST = SLOT_HAIR
} |
| | Material slots identify parts of a compiled material. More...
|
| |
| enum | Material_opacity : Uint32 {
OPACITY_OPAQUE
,
OPACITY_TRANSPARENT
,
OPACITY_UNKNOWN
} |
| | The opacity of a compiled material. More...
|
| |
| enum | Mdl_version : Uint32 {
MDL_VERSION_1_0
,
MDL_VERSION_1_1
,
MDL_VERSION_1_2
,
MDL_VERSION_1_3
,
MDL_VERSION_1_4
,
MDL_VERSION_1_5
,
MDL_VERSION_1_6
,
MDL_VERSION_1_7
,
MDL_VERSION_1_8
,
MDL_VERSION_1_9
,
MDL_VERSION_1_10
,
MDL_VERSION_EXP
,
MDL_VERSION_LATEST = MDL_VERSION_1_10
,
MDL_VERSION_INVALID = 0xffffffffU
} |
| | The MDL version. More...
|
| |
| enum | Mdl_repair_options : Uint32 {
MDL_REPAIR_DEFAULT = 0
,
MDL_REMOVE_INVALID_ARGUMENTS = 1
,
MDL_REPAIR_INVALID_ARGUMENTS = 2
} |
| | Options for repairing function calls. More...
|
| |
| enum | Impexp_priority : Uint32 {
IMPEXP_PRIORITY_OVERRIDE = 4
,
IMPEXP_PRIORITY_WELL_DEFINED = 3
,
IMPEXP_PRIORITY_AMBIGUOUS = 2
,
IMPEXP_PRIORITY_GUESS = 1
} |
| | Confidence in capabilities of an importer or exporter. More...
|
| |
| enum | Lightprofile_flags : Uint32 {
LIGHTPROFILE_CLOCKWISE = 1
,
LIGHTPROFILE_COUNTER_CLOCKWISE = 2
,
LIGHTPROFILE_ROTATE_TYPE_B = 4
,
LIGHTPROFILE_ROTATE_TYPE_C_90_270 = 8
} |
| | Ordering of horizontal angles in a light profile. More...
|
| |
| enum | Lightprofile_degree : Uint32 {
LIGHTPROFILE_HERMITE_BASE_1 = 1
,
LIGHTPROFILE_HERMITE_BASE_3 = 3
} |
| | Degree of hermite interpolation. More...
|
| |
| enum | Log_prefix : Uint32 {
LOG_PREFIX_TIME = 0x0001
,
LOG_PREFIX_TIME_SECONDS = 0x0002
,
LOG_PREFIX_HOST_THREAD = 0x0004
,
LOG_PREFIX_HOST_NAME = 0x0008
,
LOG_PREFIX_MODULE = 0x0010
,
LOG_PREFIX_CATEGORY = 0x0020
,
LOG_PREFIX_SEVERITY = 0x0040
,
LOG_PREFIX_CUDA_DEVICE = 0x0080
,
LOG_PREFIX_TAGS = 0x0100
} |
| | Components of the log message prefix. More...
|
| |
| enum | Df_data_kind : Uint32 |
| | Possible kinds of distribution function data. More...
|
| |
| enum | Baker_resource : Uint32 {
BAKE_ON_CPU
,
BAKE_ON_GPU
,
BAKE_ON_GPU_WITH_CPU_FALLBACK
} |
| | Identifies the resource(s) to be used by a baker. More...
|
| |
| enum | Uvtile_mode : Uint32 {
UVTILE_MODE_NONE = 0
,
UVTILE_MODE_UDIM = 1
,
UVTILE_MODE_UVTILE0 = 2
,
UVTILE_MODE_UVTILE1 = 3
} |
| | Supported uvtile modes for resources. More...
|
| |
| enum | Element_type : Uint32 {
ELEMENT_TYPE_LIGHTPROFILE = 5
,
ELEMENT_TYPE_TEXTURE = 7
,
ELEMENT_TYPE_IMAGE = 8
,
ELEMENT_TYPE_MODULE = 29
,
ELEMENT_TYPE_FUNCTION_DEFINITION = 30
,
ELEMENT_TYPE_FUNCTION_CALL = 31
,
ELEMENT_TYPE_MATERIAL_INSTANCE = 33
,
ELEMENT_TYPE_COMPILED_MATERIAL = 34
,
ELEMENT_TYPE_BSDF_MEASUREMENT = 35
} |
| | Distinguishes scene elements. More...
|
| |
| enum | Texture_compression : Uint32 {
TEXTURE_NO_COMPRESSION = 0
,
TEXTURE_MEDIUM_COMPRESSION = 1
,
TEXTURE_HIGH_COMPRESSION = 2
} |
| | Texture compression method. More...
|
| |
| enum | Filter_type : Uint32 {
FILTER_BOX = 0
,
FILTER_TRIANGLE = 1
,
FILTER_GAUSS = 2
,
FILTER_CMITCHELL = 3
,
FILTER_CLANCZOS = 4
,
FILTER_FAST = 5
} |
| | Supported filter types. More...
|
| |
| enum | Tex_wrap_mode : tct_uint {
TEX_WRAP_CLAMP = 0
,
TEX_WRAP_REPEAT = 1
,
TEX_WRAP_MIRRORED_REPEAT = 2
,
TEX_WRAP_CLIP = 3
} |
| | The texture wrap modes as defined by tex::wrap_mode in the MDL specification. More...
|
| |
| enum | Mbsdf_part : tct_uint {
MBSDF_DATA_REFLECTION = 0
,
MBSDF_DATA_TRANSMISSION = 1
} |
| | MBSDFs can consist of two parts, which can be selected using this enumeration. More...
|
| |
| enum | Bsdf_event_type : tct_uint |
| | The type of events created by BSDF importance sampling. More...
|
| |
| enum | Df_flags : tct_uint { DF_FLAGS_NONE = 0
, DF_FLAGS_ALLOW_REFLECT = 1
, DF_FLAGS_ALLOW_TRANSMIT = 2
, DF_FLAGS_ALLOW_REFLECT_AND_TRANSMIT = DF_FLAGS_ALLOW_REFLECT | DF_FLAGS_ALLOW_TRANSMIT
, DF_FLAGS_ALLOWED_SCATTER_MODE_MASK = DF_FLAGS_ALLOW_REFLECT_AND_TRANSMIT
} |
| | Flags controlling the calculation of DF results. More...
|
| |
| enum | Df_handle_slot_mode : tct_int {
DF_HSM_POINTER = -2
,
DF_HSM_NONE = -1
,
DF_HSM_FIXED_1 = 1
,
DF_HSM_FIXED_2 = 2
,
DF_HSM_FIXED_4 = 4
,
DF_HSM_FIXED_8 = 8
} |
| | Type of Bsdf_evaluate_data variants, depending on the backend and its configuration. More...
|
| |
| enum | Edf_event_type : tct_uint |
| | The type of events created by EDF importance sampling. More...
|
| |
|
| template<class T> |
| T * | mi_factory (void *symbol) |
| | Convenience function to ease the use of mi_factory(). More...
|
| |
| Uint32_2 | get_resolution (const ICanvas_base &canvas) |
| | Convenience function which returns a canvas' resolution in a struct. More...
|
| |
| template<class T> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const T &v) |
| | Simplifies setting the value of mi::neuraylib::IValue from the corresponding classes from the base and math API. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const bool &v) |
| | This specialization handles mi::neuraylib::IValue_bool. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::Float32 &v) |
| | This specialization handles mi::neuraylib::IValue_float and mi::neuraylib::IValue_double. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::Float64 &v) |
| | This specialization handles mi::neuraylib::IValue_float and mi::neuraylib::IValue_double. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const char *v) |
| | This specialization handles mi::neuraylib::IValue_enum, mi::neuraylib::IValue_string and mi::neuraylib::IValue_resource. More...
|
| |
| template<class T , Size DIM> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::math::Vector<T, DIM> &v) |
| | This specialization handles mi::neuraylib::IValue_vector. More...
|
| |
| template<class T , Size ROW, Size COL> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::math::Matrix<T, ROW, COL> &v) |
| | This specialization handles mi::neuraylib::IValue_matrix. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::math::Color &v) |
| | This specialization handles mi::neuraylib::IValue_color. More...
|
| |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const mi::math::Spectrum &v) |
| | This specialization handles mi::neuraylib::IValue_color. More...
|
| |
| template<class T> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, mi::Size index, const T &v) |
| | This variant handles elements of compounds identified via an additional index. More...
|
| |
| template<class T> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const char *name, const T &v) |
| | This variant handles fields of structs identified via an additional field name. More...
|
| |
| template<class T> |
| mi::Sint32 | set_value (mi::neuraylib::IValue *value, const T *v, mi::Size n) |
| | This variant handles entire arrays. More...
|
| |
| template<class T> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, T &v) |
| | Simplifies reading the value of mi::neuraylib::IValue into the corresponding classes from the base and math API. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, bool &v) |
| | This specialization handles mi::neuraylib::IValue_bool. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::Float32 &v) |
| | This specialization handles mi::neuraylib::IValue_float and mi::neuraylib::IValue_double. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::Float64 &v) |
| | This specialization handles mi::neuraylib::IValue_float and mi::neuraylib::IValue_double. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, const char *&v) |
| | This specialization handles mi::neuraylib::IValue_enum, mi::neuraylib::IValue_string and mi::neuraylib::IValue_resource. More...
|
| |
| template<class T , Size DIM> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::math::Vector<T, DIM> &v) |
| | This specialization handles mi::neuraylib::IValue_vector. More...
|
| |
| template<class T , Size ROW, Size COL> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::math::Matrix<T, ROW, COL> &v) |
| | This specialization handles mi::neuraylib::IValue_matrix. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::math::Color &v) |
| | This specialization handles mi::neuraylib::IValue_color. More...
|
| |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::math::Spectrum &v) |
| | This specialization handles mi::neuraylib::IValue_color. More...
|
| |
| template<class T> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, mi::Size index, T &v) |
| | This variant handles elements of compounds identified via an additional index. More...
|
| |
| template<class T> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, const char *name, T &v) |
| | This variant handles fields of structs identified via an additional field name. More...
|
| |
| template<class T> |
| mi::Sint32 | get_value (const mi::neuraylib::IValue *value, T *v, mi::Size n) |
| | This variant handles entire arrays. More...
|
| |