Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/scene.h
| Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | public: | ||||
| KernelData data; | KernelData data; | ||||
| }; | }; | ||||
| /* Scene Parameters */ | /* Scene Parameters */ | ||||
| class SceneParams { | class SceneParams { | ||||
| public: | public: | ||||
| ShadingSystem shadingsystem; | ShadingSystem shadingsystem; | ||||
| enum BVHType { BVH_DYNAMIC, BVH_STATIC } bvh_type; | enum BVHType { | ||||
| BVH_DYNAMIC = 0, | |||||
| BVH_STATIC = 1, | |||||
| BVH_NUM_TYPES, | |||||
| } bvh_type; | |||||
| bool use_bvh_spatial_split; | bool use_bvh_spatial_split; | ||||
| bool use_qbvh; | bool use_qbvh; | ||||
| bool persistent_data; | bool persistent_data; | ||||
| SceneParams() | SceneParams() | ||||
| { | { | ||||
| shadingsystem = SHADINGSYSTEM_SVM; | shadingsystem = SHADINGSYSTEM_SVM; | ||||
| bvh_type = BVH_DYNAMIC; | bvh_type = BVH_DYNAMIC; | ||||
| ▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines | |||||