9# include <OSL/oslexec.h>
27class ColorSpaceProcessor;
49 OSL::ShadingSystem *ss;
50 OSLRenderServices *services;
53 vector<OSL::ShaderGroupRef> surface_state;
54 vector<OSL::ShaderGroupRef> volume_state;
55 vector<OSL::ShaderGroupRef> displacement_state;
56 vector<OSL::ShaderGroupRef> bump_state;
57 OSL::ShaderGroupRef background_state;
58 OSL::ShaderGroupRef camera_state;
61 using ObjectNameMap = unordered_map<OSLUStringHash, int>;
63 ObjectNameMap object_name_map;
64 vector<ustring> object_names;
81 OSLGlobals *globals =
nullptr;
82 OSL::ShadingSystem *ss =
nullptr;
85 int thread_index = -1;
87 mutable ShaderGlobals shader_globals;
88 mutable OSLTraceData tracedata;
90 OSL::PerThreadInfo *osl_thread_info =
nullptr;
91 OSL::ShadingContext *
context =
nullptr;
93 OSLThreadData(OSLGlobals *globals,
const int thread_index);
96 OSLThreadData(OSLThreadData &other) =
delete;
97 OSLThreadData(OSLThreadData &&other)
noexcept;
98 OSLThreadData &
operator=(
const OSLThreadData &other) =
delete;
99 OSLThreadData &
operator=(OSLThreadData &&other) =
delete;
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
#define CCL_NAMESPACE_END
int context(const bContext *C, const char *member, bContextDataResult *result)
PipelineCompute setup(setup_main)