Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/mesh.h
| Show First 20 Lines • Show All 312 Lines • ▼ Show 20 Lines | public: | ||||
| bool need_attribute(Scene *scene, AttributeStandard std); | bool need_attribute(Scene *scene, AttributeStandard std); | ||||
| bool need_attribute(Scene *scene, ustring name); | bool need_attribute(Scene *scene, ustring name); | ||||
| void tag_update(Scene *scene, bool rebuild); | void tag_update(Scene *scene, bool rebuild); | ||||
| bool has_motion_blur() const; | bool has_motion_blur() const; | ||||
| bool has_true_displacement() const; | bool has_true_displacement() const; | ||||
| bool has_voxel_attributes() const; | |||||
| /* Convert between normalized -1..1 motion time and index | /* Convert between normalized -1..1 motion time and index | ||||
| * in the VERTEX_MOTION attribute. */ | * in the VERTEX_MOTION attribute. */ | ||||
| float motion_time(int step) const; | float motion_time(int step) const; | ||||
| int motion_step(float time) const; | int motion_step(float time) const; | ||||
| /* Check whether the mesh should have own BVH built separately. Briefly, | /* Check whether the mesh should have own BVH built separately. Briefly, | ||||
| * own BVH is needed for mesh, if: | * own BVH is needed for mesh, if: | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||