|
Blender V5.3
|
#include <OSL/oslversion.h>#include <OpenImageIO/oiioversion.h>#include "kernel/types.h"#include "util/defines.h"#include "util/types_float3.h"#include "closures_template.h"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_ENCODE(type, id) |
| #define | OSL_TEXTURE_HANDLE_TYPE(handle) |
| #define | OSL_TEXTURE_HANDLE_ID(handle) |
Typedefs | |
| using | DeviceString = const char * |
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 } |
| enum class | OSLTextureHandleType : unsigned int { IMAGE = 1 , IES = 2 , BEVEL = 3 , AO = 4 } |
Functions | |
| ccl_device_inline DeviceString | make_string (const char *str, const size_t hash) |
| #define OSL_CLOSURE_STRUCT_ARRAY_MEMBER | ( | Upper, | |
| TYPE, | |||
| type, | |||
| name, | |||
| key, | |||
| size ) |
Definition at line 77 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_BEGIN | ( | Upper, | |
| lower ) |
Definition at line 61 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_END | ( | Upper, | |
| lower ) |
Definition at line 71 of file kernel/osl/types.h.
| #define OSL_CLOSURE_STRUCT_MEMBER | ( | Upper, | |
| TYPE, | |||
| type, | |||
| name, | |||
| key ) |
Definition at line 74 of file kernel/osl/types.h.
| #define OSL_TEXTURE_HANDLE_ENCODE | ( | type, | |
| id ) |
Definition at line 226 of file kernel/osl/types.h.
Referenced by OSLRenderServices::get_texture_handle().
| #define OSL_TEXTURE_HANDLE_ID | ( | handle | ) |
Definition at line 228 of file kernel/osl/types.h.
Referenced by OSLRenderServices::good(), OSLRenderServices::is_udim(), osl_shared_environment(), osl_shared_get_texture_info(), osl_shared_texture(), and osl_shared_texture3d().
| #define OSL_TEXTURE_HANDLE_TYPE | ( | handle | ) |
Definition at line 227 of file kernel/osl/types.h.
Referenced by OSLRenderServices::good(), OSLRenderServices::is_udim(), osl_shared_environment(), osl_shared_get_texture_info(), osl_shared_texture(), and osl_shared_texture3d().
| using DeviceString = const char * |
Definition at line 29 of file kernel/osl/types.h.
| 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 55 of file kernel/osl/types.h.
|
strong |
| Enumerator | |
|---|---|
| IMAGE | |
| IES | |
| BEVEL | |
| AO | |
Definition at line 224 of file kernel/osl/types.h.
| ccl_device_inline DeviceString make_string | ( | const char * | str, |
| const size_t | hash ) |
Definition at line 37 of file kernel/osl/types.h.
References ccl_device_inline, hash, kernel_assert, make_string(), and str.
Referenced by make_string(), 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().