MDL SDK API nvidia_logo_transpbg.gif Up
mi::neuraylib::Texture_handler_vtable_impl<with_derivatives> Struct Template Reference

The runtime for bitmap texture access for the generated target code can optionally be implemented in form of a vtable as specified by this structure. More...

#include <target_code_types.h>

Public Attributes

void(* m_tex_lookup_float4_2d )(tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, typename traits::tct_coord2_type coord, Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, tct_float const crop_u[2], tct_float const crop_v[2], tct_float frame)
 Implementation of tex::lookup_float4() for a texture_2d texture. More...
 
void(* m_tex_lookup_float3_2d )(tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, typename traits::tct_coord2_type coord, Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, tct_float const crop_u[2], tct_float const crop_v[2], tct_float frame)
 Implementation of tex::lookup_float3() for a texture_2d texture. More...
 
void(* m_tex_texel_float4_2d )(tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_int const coord[2], tct_int const uv_tile[2], tct_float frame)
 Implementation of tex::texel_float4() for a texture_2d texture. More...
 
void(* m_tex_lookup_float4_3d )(tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3], Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, Tex_wrap_mode wrap_w, tct_float const crop_u[2], tct_float const crop_v[2], tct_float const crop_w[2], tct_float frame)
 Implementation of tex::lookup_float4() for a texture_3d texture. More...
 
void(* m_tex_lookup_float3_3d )(tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3], Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, Tex_wrap_mode wrap_w, tct_float const crop_u[2], tct_float const crop_v[2], tct_float const crop_w[2], tct_float frame)
 Implementation of tex::lookup_float3() for a texture_3d texture. More...
 
void(* m_tex_texel_float4_3d )(tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_int const coord[3], tct_float frame)
 Implementation of tex::texel_float4() for a texture_3d texture. More...
 
void(* m_tex_lookup_float4_cube )(tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3])
 Implementation of tex::lookup_float4() for a texture_cube texture. More...
 
void(* m_tex_lookup_float3_cube )(tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3])
 Implementation of tex::lookup_float3() for a texture_cube texture. More...
 
void(* m_tex_resolution_2d )(tct_int result[2], Texture_handler_base const *self, tct_uint texture_idx, tct_int const uv_tile[2], tct_float frame)
 Implementation of resolution_2d() function needed by generated code, which retrieves the width and height of the given texture. More...
 
void(* m_tex_resolution_3d )(tct_int result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float frame)
 Implementation of resolution_3d() function needed by generated code, which retrieves the width, height and depth of the given texture. More...
 
tct_bool(* m_tex_texture_isvalid )(Texture_handler_base const *self, tct_uint texture_idx)
 Implementation of texture_isvalid() for any texture type. More...
 
void(* m_tex_frame )(tct_int result[2], Texture_handler_base const *self, tct_uint texture_idx)
 Implementation of frame() function needed by generated code, which retrieves the first and last frame number of the given texture. More...
 
tct_float(* m_df_light_profile_power )(Texture_handler_base const *self, tct_uint light_profile_index)
 Implementation of light_profile_power() for a light profile. More...
 
tct_float(* m_df_light_profile_maximum )(Texture_handler_base const *self, tct_uint light_profile_index)
 Implementation of light_profile_maximum() for a light profile. More...
 
tct_bool(* m_df_light_profile_isvalid )(Texture_handler_base const *self, tct_uint light_profile_index)
 Implementation of light_profile_isvalid() for a light profile. More...
 
tct_float(* m_df_light_profile_evaluate )(Texture_handler_base const *self, tct_uint light_profile_index, tct_float const theta_phi[2])
 Implementation of light_profile_evaluate() for a light profile. More...
 
void(* m_df_light_profile_sample )(tct_float result[3], Texture_handler_base const *self, tct_uint light_profile_index, tct_float const xi[3])
 Implementation of light_profile_sample() for a light profile. More...
 
tct_float(* m_df_light_profile_pdf )(Texture_handler_base const *self, tct_uint light_profile_index, tct_float const theta_phi[2])
 Implementation of light_profile_pdf() for a light profile. More...
 
tct_bool(* m_df_bsdf_measurement_isvalid )(Texture_handler_base const *self, tct_uint bsdf_measurement_index)
 Implementation of bsdf_measurement_isvalid() for an MBSDF. More...
 
void(* m_df_bsdf_measurement_resolution )(tct_uint result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, Mbsdf_part part)
 Implementation of bsdf_measurement_resolution() function needed by generated code, which retrieves the angular and chromatic resolution of the given MBSDF. More...
 
void(* m_df_bsdf_measurement_evaluate )(tct_float result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_in[2], tct_float const theta_phi_out[2], Mbsdf_part part)
 Implementation of bsdf_measurement_evaluate() for an MBSDF. More...
 
void(* m_df_bsdf_measurement_sample )(tct_float result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_out[2], tct_float const xi[3], Mbsdf_part part)
 Implementation of bsdf_measurement_sample() for an MBSDF. More...
 
tct_float(* m_df_bsdf_measurement_pdf )(Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_in[2], tct_float const theta_phi_out[2], Mbsdf_part part)
 Implementation of bsdf_measurement_pdf() for an MBSDF. More...
 
void(* m_df_bsdf_measurement_albedos )(tct_float result[4], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi[2])
 Implementation of bsdf_measurement_albedos() for an MBSDF. More...
 
void(* m_adapt_normal )(tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_float const normal[3])
 Implementation of adapt_normal(). More...
 
tct_bool(* m_scene_data_isvalid )(Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id)
 Implementation of scene_data_isvalid(). More...
 
tct_float(* m_scene_data_lookup_float )(Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float(). More...
 
void(* m_scene_data_lookup_float2 )(tct_float result[2], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[2], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float2(). More...
 
void(* m_scene_data_lookup_float3 )(tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[3], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float3(). More...
 
void(* m_scene_data_lookup_float4 )(tct_float result[4], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[4], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float4(). More...
 
tct_int(* m_scene_data_lookup_int )(Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_int(). More...
 
void(* m_scene_data_lookup_int2 )(tct_int result[2], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[2], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_int2(). More...
 
void(* m_scene_data_lookup_int3 )(tct_int result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[3], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_int3(). More...
 
void(* m_scene_data_lookup_int4 )(tct_int result[4], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[4], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_int4(). More...
 
void(* m_scene_data_lookup_color )(tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[3], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_color(). More...
 
void(* m_scene_data_lookup_float4x4 )(tct_float result[16], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[16], tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float4x4(). More...
 
void(* m_scene_data_lookup_deriv_float )(tct_deriv_float *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_float const *default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float() with derivatives. More...
 
void(* m_scene_data_lookup_deriv_float2 )(tct_deriv_arr_float_2 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_2 const *default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float2() with derivatives. More...
 
void(* m_scene_data_lookup_deriv_float3 )(tct_deriv_arr_float_3 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_3 const *default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float3() with derivatives. More...
 
void(* m_scene_data_lookup_deriv_float4 )(tct_deriv_arr_float_4 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_4 const *default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_float4() with derivatives. More...
 
void(* m_scene_data_lookup_deriv_color )(tct_deriv_arr_float_3 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_3 const *default_value, tct_bool uniform_lookup)
 Implementation of scene_data_lookup_color() with derivatives. More...
 

Detailed Description

template<bool with_derivatives = false>
struct mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>

The runtime for bitmap texture access for the generated target code can optionally be implemented in form of a vtable as specified by this structure.

Member Data Documentation

 m_adapt_normal

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_adapt_normal) (tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_float const normal[3])

Implementation of adapt_normal().

 m_df_bsdf_measurement_albedos

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_albedos) (tct_float result[4], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi[2])

Implementation of bsdf_measurement_albedos() for an MBSDF.

theta in [0, pi/2] and phi in [-pi, pi]

 m_df_bsdf_measurement_evaluate

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_evaluate) (tct_float result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_in[2], tct_float const theta_phi_out[2], Mbsdf_part part)

Implementation of bsdf_measurement_evaluate() for an MBSDF.

reflection or transmission

 m_df_bsdf_measurement_isvalid

template<bool with_derivatives = false>
tct_bool(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_isvalid) (Texture_handler_base const *self, tct_uint bsdf_measurement_index)

Implementation of bsdf_measurement_isvalid() for an MBSDF.

 m_df_bsdf_measurement_pdf

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_pdf) (Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_in[2], tct_float const theta_phi_out[2], Mbsdf_part part)

Implementation of bsdf_measurement_pdf() for an MBSDF.

reflection or transmission

 m_df_bsdf_measurement_resolution

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_resolution) (tct_uint result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, Mbsdf_part part)

Implementation of bsdf_measurement_resolution() function needed by generated code, which retrieves the angular and chromatic resolution of the given MBSDF.

The returned triple consists of: number of equi-spaced steps of theta_i and theta_o, number of equi-spaced steps of phi, and number of color channels (1 or 3). reflection or transmission

 m_df_bsdf_measurement_sample

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_bsdf_measurement_sample) (tct_float result[3], Texture_handler_base const *self, tct_uint bsdf_measurement_index, tct_float const theta_phi_out[2], tct_float const xi[3], Mbsdf_part part)

Implementation of bsdf_measurement_sample() for an MBSDF.

reflection or transmission

 m_df_light_profile_evaluate

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_evaluate) (Texture_handler_base const *self, tct_uint light_profile_index, tct_float const theta_phi[2])

Implementation of light_profile_evaluate() for a light profile.

theta in [0, pi/2] and phi in [-pi, pi]

 m_df_light_profile_isvalid

template<bool with_derivatives = false>
tct_bool(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_isvalid) (Texture_handler_base const *self, tct_uint light_profile_index)

Implementation of light_profile_isvalid() for a light profile.

 m_df_light_profile_maximum

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_maximum) (Texture_handler_base const *self, tct_uint light_profile_index)

Implementation of light_profile_maximum() for a light profile.

 m_df_light_profile_pdf

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_pdf) (Texture_handler_base const *self, tct_uint light_profile_index, tct_float const theta_phi[2])

Implementation of light_profile_pdf() for a light profile.

theta in [0, pi/2] and phi in [-pi, pi]

 m_df_light_profile_power

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_power) (Texture_handler_base const *self, tct_uint light_profile_index)

Implementation of light_profile_power() for a light profile.

 m_df_light_profile_sample

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_df_light_profile_sample) (tct_float result[3], Texture_handler_base const *self, tct_uint light_profile_index, tct_float const xi[3])

Implementation of light_profile_sample() for a light profile.

 m_scene_data_isvalid

template<bool with_derivatives = false>
tct_bool(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_isvalid) (Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id)

Implementation of scene_data_isvalid().

 m_scene_data_lookup_color

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_color) (tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[3], tct_bool uniform_lookup)

Implementation of scene_data_lookup_color().

 m_scene_data_lookup_deriv_color

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_deriv_color) (tct_deriv_arr_float_3 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_3 const *default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_color() with derivatives.

 m_scene_data_lookup_deriv_float

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_deriv_float) (tct_deriv_float *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_float const *default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_float() with derivatives.

 m_scene_data_lookup_deriv_float2

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_deriv_float2) (tct_deriv_arr_float_2 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_2 const *default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_float2() with derivatives.

 m_scene_data_lookup_deriv_float3

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_deriv_float3) (tct_deriv_arr_float_3 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_3 const *default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_float3() with derivatives.

 m_scene_data_lookup_deriv_float4

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_deriv_float4) (tct_deriv_arr_float_4 *result, Texture_handler_base const *self_base, Shading_state_material_with_derivs *state, tct_uint scene_data_id, tct_deriv_arr_float_4 const *default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_float4() with derivatives.

 m_scene_data_lookup_float

template<bool with_derivatives = false>
tct_float(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_float) (Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_float().

 m_scene_data_lookup_float2

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_float2) (tct_float result[2], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[2], tct_bool uniform_lookup)

Implementation of scene_data_lookup_float2().

 m_scene_data_lookup_float3

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_float3) (tct_float result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[3], tct_bool uniform_lookup)

Implementation of scene_data_lookup_float3().

 m_scene_data_lookup_float4

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_float4) (tct_float result[4], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[4], tct_bool uniform_lookup)

Implementation of scene_data_lookup_float4().

 m_scene_data_lookup_float4x4

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_float4x4) (tct_float result[16], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_float const default_value[16], tct_bool uniform_lookup)

Implementation of scene_data_lookup_float4x4().

The result and default_value matrix are in column-major format.

 m_scene_data_lookup_int

template<bool with_derivatives = false>
tct_int(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_int) (Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int default_value, tct_bool uniform_lookup)

Implementation of scene_data_lookup_int().

 m_scene_data_lookup_int2

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_int2) (tct_int result[2], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[2], tct_bool uniform_lookup)

Implementation of scene_data_lookup_int2().

 m_scene_data_lookup_int3

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_int3) (tct_int result[3], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[3], tct_bool uniform_lookup)

Implementation of scene_data_lookup_int3().

 m_scene_data_lookup_int4

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_scene_data_lookup_int4) (tct_int result[4], Texture_handler_base const *self_base, Shading_state_material *state, tct_uint scene_data_id, tct_int const default_value[4], tct_bool uniform_lookup)

Implementation of scene_data_lookup_int4().

 m_tex_frame

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_frame) (tct_int result[2], Texture_handler_base const *self, tct_uint texture_idx)

Implementation of frame() function needed by generated code, which retrieves the first and last frame number of the given texture.

 m_tex_lookup_float3_2d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float3_2d) (tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, typename traits::tct_coord2_type coord, Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, tct_float const crop_u[2], tct_float const crop_v[2], tct_float frame)

Implementation of tex::lookup_float3() for a texture_2d texture.

 m_tex_lookup_float3_3d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float3_3d) (tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3], Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, Tex_wrap_mode wrap_w, tct_float const crop_u[2], tct_float const crop_v[2], tct_float const crop_w[2], tct_float frame)

Implementation of tex::lookup_float3() for a texture_3d texture.

 m_tex_lookup_float3_cube

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float3_cube) (tct_float result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3])

Implementation of tex::lookup_float3() for a texture_cube texture.

 m_tex_lookup_float4_2d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float4_2d) (tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, typename traits::tct_coord2_type coord, Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, tct_float const crop_u[2], tct_float const crop_v[2], tct_float frame)

Implementation of tex::lookup_float4() for a texture_2d texture.

 m_tex_lookup_float4_3d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float4_3d) (tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3], Tex_wrap_mode wrap_u, Tex_wrap_mode wrap_v, Tex_wrap_mode wrap_w, tct_float const crop_u[2], tct_float const crop_v[2], tct_float const crop_w[2], tct_float frame)

Implementation of tex::lookup_float4() for a texture_3d texture.

 m_tex_lookup_float4_cube

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_lookup_float4_cube) (tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_float const coord[3])

Implementation of tex::lookup_float4() for a texture_cube texture.

 m_tex_resolution_2d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_resolution_2d) (tct_int result[2], Texture_handler_base const *self, tct_uint texture_idx, tct_int const uv_tile[2], tct_float frame)

Implementation of resolution_2d() function needed by generated code, which retrieves the width and height of the given texture.

Will only be called for texture_2d and texture_cube textures.

 m_tex_resolution_3d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_resolution_3d) (tct_int result[3], Texture_handler_base const *self, tct_uint texture_idx, tct_float frame)

Implementation of resolution_3d() function needed by generated code, which retrieves the width, height and depth of the given texture.

Will only be called for texture_3d textures.

 m_tex_texel_float4_2d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_texel_float4_2d) (tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_int const coord[2], tct_int const uv_tile[2], tct_float frame)

Implementation of tex::texel_float4() for a texture_2d texture.

 m_tex_texel_float4_3d

template<bool with_derivatives = false>
void(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_texel_float4_3d) (tct_float result[4], Texture_handler_base const *self, tct_uint texture_idx, tct_int const coord[3], tct_float frame)

Implementation of tex::texel_float4() for a texture_3d texture.

 m_tex_texture_isvalid

template<bool with_derivatives = false>
tct_bool(* mi::neuraylib::Texture_handler_vtable_impl<with_derivatives>::m_tex_texture_isvalid) (Texture_handler_base const *self, tct_uint texture_idx)

Implementation of texture_isvalid() for any texture type.