|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | OSLClosure |
| struct | ShaderGlobals |
| struct | OSLNoiseOptions |
| struct | OSLTextureOptions |
Macros | |
| #define | OSL_CLOSURE_STRUCT_BEGIN(Upper, lower) |
| #define | OSL_CLOSURE_STRUCT_END(Upper, lower) |
| #define | OSL_CLOSURE_STRUCT_MEMBER(Upper, TYPE, type, name, key) |
| #define | OSL_CLOSURE_STRUCT_ARRAY_MEMBER(Upper, TYPE, type, name, key, size) |
| #define | OSL_TEXTURE_HANDLE_TYPE_IES ((uintptr_t)0x2 << 30) |
| #define | OSL_TEXTURE_HANDLE_TYPE_SVM ((uintptr_t)0x1 << 30) |
| #define | OSL_TEXTURE_HANDLE_TYPE_AO_OR_BEVEL ((uintptr_t)0x3 << 30) |
| #define | OSL_TEXTURE_HANDLE_TYPE(handle) |
| #define | OSL_TEXTURE_HANDLE_SLOT(handle) |
Enumerations | |
| enum | OSLClosureType { OSL_CLOSURE_MUL_ID = -1 , OSL_CLOSURE_ADD_ID = -2 , OSL_CLOSURE_NONE_ID = 0 , OSL_CLOSURE_STRUCT_MEMBER , OSL_CLOSURE_STRUCT_MEMBER } |
Functions | |
| ccl_device_inline DeviceString | make_string (const char *str, size_t hash) |
Variables | |
| CCL_NAMESPACE_BEGIN typedef const char * | DeviceString |
Definition at line 62 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_BEGIN | ( | Upper, | |
| lower ) |
Definition at line 46 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_END | ( | Upper, | |
| lower ) |
Definition at line 56 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_MEMBER | ( | Upper, | |
| TYPE, | |||
| type, | |||
| name, | |||
| key ) |
Definition at line 59 of file kernel/osl/types.h.
| #define OSL_TEXTURE_HANDLE_SLOT | ( | handle | ) |
Definition at line 116 of file kernel/osl/types.h.
Referenced by osl_texture(), and osl_texture3d().
| #define OSL_TEXTURE_HANDLE_TYPE | ( | handle | ) |
Definition at line 114 of file kernel/osl/types.h.
Referenced by osl_texture(), and osl_texture3d().
Definition at line 112 of file kernel/osl/types.h.
Referenced by OSLRenderServices::get_texture_handle().
Definition at line 110 of file kernel/osl/types.h.
Referenced by OSLRenderServices::get_texture_handle(), and osl_texture().
Definition at line 111 of file kernel/osl/types.h.
Referenced by OSLRenderServices::get_texture_handle(), osl_texture(), and osl_texture3d().
| enum OSLClosureType |
| Enumerator | |
|---|---|
| OSL_CLOSURE_MUL_ID | |
| OSL_CLOSURE_ADD_ID | |
| OSL_CLOSURE_NONE_ID | |
| OSL_CLOSURE_STRUCT_MEMBER | |
| OSL_CLOSURE_STRUCT_MEMBER | |
Definition at line 40 of file kernel/osl/types.h.
| ccl_device_inline DeviceString make_string | ( | const char * | str, |
| size_t | hash ) |
Definition at line 22 of file kernel/osl/types.h.
References ccl_device_inline, DeviceString, hash, kernel_assert, result, and str.
Referenced by osl_closure_bssrdf_setup(), osl_closure_conductor_bsdf_setup(), osl_closure_dielectric_bsdf_setup(), osl_closure_generalized_schlick_bsdf_setup(), osl_closure_microfacet_f82_tint_setup(), and osl_closure_microfacet_setup().
| CCL_NAMESPACE_BEGIN typedef const char* DeviceString |
Definition at line 19 of file kernel/osl/types.h.
Referenced by get_background_attribute(), get_object_standard_attribute(), make_string(), osl_environment(), osl_get_attribute(), osl_get_from_to_matrix(), osl_get_inverse_matrix(), osl_get_matrix(), osl_get_textureinfo(), osl_get_textureinfo_st(), osl_prepend_color_from(), osl_prepend_matrix_from(), osl_range_check(), osl_range_check_err(), osl_texture(), osl_texture3d(), osl_transform_triple(), osl_transform_triple_nonlinear(), and osl_transformc().