5#ifndef __OSL_GLOBALS_H__
6#define __OSL_GLOBALS_H__
10# include <OSL/oslexec.h>
12# include <OpenImageIO/refcnt.h>
13# include <OpenImageIO/unordered_map_concurrent.h>
30class ColorSpaceProcessor;
49 OSLGlobals *osl_globals,
50 const int thread_init);
56 OSL::ShadingSystem *ss;
57 OSL::TextureSystem *ts;
58 OSLRenderServices *services;
65 OSL::ShaderGroupRef background_state;
68 typedef unordered_map<OSLUStringHash, int> ObjectNameMap;
70 ObjectNameMap object_name_map;
86 OSL::ShaderGlobals globals;
87 OSL::PerThreadInfo *osl_thread_info;
88 OSLTraceData tracedata;
90 OIIO::TextureSystem::Perthread *oiio_thread_info;
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a vector
struct KernelGlobalsCPU KernelGlobalsCPU
#define CCL_NAMESPACE_END
struct Intersection Intersection
int context(const bContext *C, const char *member, bContextDataResult *result)