Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/shader.h
| Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | public: | ||||
| /* add default shaders to scene, to use as default for things that don't | /* add default shaders to scene, to use as default for things that don't | ||||
| * have any shader assigned explicitly */ | * have any shader assigned explicitly */ | ||||
| static void add_default(Scene *scene); | static void add_default(Scene *scene); | ||||
| /* Selective nodes compilation. */ | /* Selective nodes compilation. */ | ||||
| void get_requested_features(Scene *scene, | void get_requested_features(Scene *scene, | ||||
| DeviceRequestedFeatures *requested_features); | DeviceRequestedFeatures *requested_features); | ||||
| static void free_memory(); | |||||
| protected: | protected: | ||||
| ShaderManager(); | ShaderManager(); | ||||
| typedef unordered_map<ustring, uint, ustringHash> AttributeIDMap; | typedef unordered_map<ustring, uint, ustringHash> AttributeIDMap; | ||||
| AttributeIDMap unique_attribute_id; | AttributeIDMap unique_attribute_id; | ||||
| thread_mutex lookup_table_mutex; | thread_mutex lookup_table_mutex; | ||||
| static vector<float> beckmann_table; | static vector<float> beckmann_table; | ||||
| Show All 11 Lines | |||||