9# include <OSL/oslexec.h>
27class ColorSpaceProcessor;
50 OSL::ShadingSystem *ss;
51 OSL::TextureSystem *ts;
52 OSLRenderServices *services;
55 vector<OSL::ShaderGroupRef> surface_state;
56 vector<OSL::ShaderGroupRef> volume_state;
57 vector<OSL::ShaderGroupRef> displacement_state;
58 vector<OSL::ShaderGroupRef> bump_state;
59 OSL::ShaderGroupRef background_state;
60 OSL::ShaderGroupRef camera_state;
63 using ObjectNameMap = unordered_map<OSLUStringHash, int>;
65 ObjectNameMap object_name_map;
66 vector<ustring> object_names;
82 OSLGlobals *globals =
nullptr;
83 OSL::ShadingSystem *ss =
nullptr;
86 int thread_index = -1;
88 mutable ShaderGlobals shader_globals;
89 mutable OSLTraceData tracedata;
91 OSL::PerThreadInfo *osl_thread_info =
nullptr;
92 OSL::ShadingContext *
context =
nullptr;
93 OIIO::TextureSystem::Perthread *oiio_thread_info =
nullptr;
95 OSLThreadData(OSLGlobals *globals,
const int thread_index);
98 OSLThreadData(OSLThreadData &other) =
delete;
99 OSLThreadData(OSLThreadData &&other)
noexcept;
100 OSLThreadData &
operator=(
const OSLThreadData &other) =
delete;
101 OSLThreadData &
operator=(OSLThreadData &&other) =
delete;
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
#define CCL_NAMESPACE_END
int context(const bContext *C, const char *member, bContextDataResult *result)