Blender  V2.93
Public Types | Public Member Functions | Public Attributes | List of all members
SceneParams Class Reference

#include <scene.h>

Public Types

enum  BVHType { BVH_DYNAMIC = 0 , BVH_STATIC = 1 , BVH_NUM_TYPES }
 

Public Member Functions

 SceneParams ()
 
bool modified (const SceneParams &params)
 
int curve_subdivisions ()
 

Public Attributes

ShadingSystem shadingsystem
 
BVHLayout bvh_layout
 
BVHType bvh_type
 
bool use_bvh_spatial_split
 
bool use_bvh_unaligned_nodes
 
int num_bvh_time_steps
 
int hair_subdivisions
 
CurveShapeType hair_shape
 
int texture_limit
 
bool background
 

Detailed Description

Definition at line 143 of file scene.h.

Member Enumeration Documentation

◆ BVHType

Enumerator
BVH_DYNAMIC 
BVH_STATIC 
BVH_NUM_TYPES 

Definition at line 148 of file scene.h.

Constructor & Destructor Documentation

◆ SceneParams()

SceneParams::SceneParams ( )
inline

Member Function Documentation

◆ curve_subdivisions()

int SceneParams::curve_subdivisions ( )
inline

Definition at line 210 of file scene.h.

References clamp(), and hair_subdivisions.

Referenced by GeometryManager::device_update_bvh().

◆ modified()

bool SceneParams::modified ( const SceneParams params)
inline

Member Data Documentation

◆ background

bool SceneParams::background

Definition at line 183 of file scene.h.

Referenced by ImageTextureNode::cull_tiles(), SceneParams(), and Scene::update().

◆ bvh_layout

BVHLayout SceneParams::bvh_layout

Definition at line 173 of file scene.h.

Referenced by GeometryManager::device_update_bvh(), modified(), and SceneParams().

◆ bvh_type

BVHType SceneParams::bvh_type

Definition at line 175 of file scene.h.

Referenced by GeometryManager::device_update_bvh(), modified(), SceneParams(), and xml_read_file().

◆ hair_shape

CurveShapeType SceneParams::hair_shape

Definition at line 180 of file scene.h.

Referenced by Scene::get_requested_device_features(), modified(), and SceneParams().

◆ hair_subdivisions

int SceneParams::hair_subdivisions

Definition at line 179 of file scene.h.

Referenced by curve_subdivisions(), modified(), and SceneParams().

◆ num_bvh_time_steps

int SceneParams::num_bvh_time_steps

Definition at line 178 of file scene.h.

Referenced by GeometryManager::device_update_bvh(), modified(), and SceneParams().

◆ shadingsystem

ShadingSystem SceneParams::shadingsystem

Definition at line 166 of file scene.h.

Referenced by modified(), options_parse(), Scene::Scene(), and SceneParams().

◆ texture_limit

int SceneParams::texture_limit

Definition at line 181 of file scene.h.

Referenced by modified(), and SceneParams().

◆ use_bvh_spatial_split

bool SceneParams::use_bvh_spatial_split

Definition at line 176 of file scene.h.

Referenced by GeometryManager::device_update_bvh(), modified(), and SceneParams().

◆ use_bvh_unaligned_nodes

bool SceneParams::use_bvh_unaligned_nodes

Definition at line 177 of file scene.h.

Referenced by GeometryManager::device_update_bvh(), modified(), and SceneParams().


The documentation for this class was generated from the following file: