5#ifndef OSL_CLOSURE_STRUCT_BEGIN
6# define OSL_CLOSURE_STRUCT_BEGIN(Upper, lower)
8#ifndef OSL_CLOSURE_STRUCT_END
9# define OSL_CLOSURE_STRUCT_END(Upper, lower)
11#ifndef OSL_CLOSURE_STRUCT_MEMBER
12# define OSL_CLOSURE_STRUCT_MEMBER(Upper, TYPE, type, name, key)
14#ifndef OSL_CLOSURE_STRUCT_ARRAY_MEMBER
15# define OSL_CLOSURE_STRUCT_ARRAY_MEMBER(Upper, TYPE, type, name, key, size)
232#if OSL_LIBRARY_VERSION_CODE >= 11401
312#undef OSL_CLOSURE_STRUCT_BEGIN
313#undef OSL_CLOSURE_STRUCT_END
314#undef OSL_CLOSURE_STRUCT_MEMBER
315#undef OSL_CLOSURE_STRUCT_ARRAY_MEMBER
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
#define OSL_CLOSURE_STRUCT_ARRAY_MEMBER(Upper, TYPE, type, name, key, size)
#define OSL_CLOSURE_STRUCT_BEGIN(Upper, lower)
#define OSL_CLOSURE_STRUCT_MEMBER(Upper, TYPE, type, name, key)
#define OSL_CLOSURE_STRUCT_END(Upper, lower)
nullptr thinfilm_thickness
VecBase< T, D > refract(VecOp< T, D >, VecOp< T, D >, float) RET
const char * DeviceString
closure color absorption() BUILTIN
closure color fournier_forand(float B, float IOR) BUILTIN
closure color phong_ramp(normal N, float exponent, color colors[8]) BUILTIN
closure color microfacet_multi_ggx_glass(normal N, float ag, float eta, color C) BUILTIN
closure color ray_portal_bsdf(vector position, vector direction) BUILTIN
closure color hair_chiang(normal N, color sigma, float roughnessu, float roughnessv, float coat, float alpha, float eta) BUILTIN
closure color diffuse_toon(normal N, float size, float smooth) BUILTIN
closure color henyey_greenstein(float g) BUILTIN
closure color microfacet_multi_ggx_aniso(normal N, vector T, float ax, float ay, color C) BUILTIN
closure color hair_transmission(normal N, float roughnessu, float roughnessv, vector T, float offset) BUILTIN
closure color ashikhmin_velvet(normal N, float sigma) BUILTIN
closure color diffuse_ramp(normal N, color colors[8]) BUILTIN
closure color thin_glass(normal N, vector T, color reflection, color transmission, float ior, float alpha, float thinfilm_thickness, float thinfilm_ior) BUILTIN
closure color bssrdf(string method, normal N, vector radius, color albedo) BUILTIN
closure color hair_huang(normal N, color sigma, float roughness, float tilt, float eta, float aspect_ratio, float r_lobe, float tt_lobe, float trt_lobe) BUILTIN
closure color hair_reflection(normal N, float roughnessu, float roughnessv, vector T, float offset) BUILTIN
closure color microfacet_f82_tint(string distribution, vector N, vector T, float ax, float ay, color f0, color f82) BUILTIN
closure color coat_bsdf(color C, float ior, float roughness, normal N) BUILTIN
closure color thin_subsurface(normal N, vector T, color C, float anisotropy, float roughness) BUILTIN
closure color rayleigh() BUILTIN
closure color draine(float g, float alpha) BUILTIN
closure color glossy_toon(normal N, float size, float smooth) BUILTIN