Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/mesh.h
| Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | public: | ||||
| enum DisplacementMethod { | enum DisplacementMethod { | ||||
| DISPLACE_BUMP = 0, | DISPLACE_BUMP = 0, | ||||
| DISPLACE_TRUE = 1, | DISPLACE_TRUE = 1, | ||||
| DISPLACE_BOTH = 2, | DISPLACE_BOTH = 2, | ||||
| DISPLACE_NUM_METHODS, | DISPLACE_NUM_METHODS, | ||||
| }; | }; | ||||
| enum SubdivisionType { | |||||
| SUBDIVISION_NONE, | |||||
| SUBDIVISION_LINEAR, | |||||
| SUBDIVISION_CATMULL_CLARK, | |||||
| }; | |||||
| SubdivisionType subdivision_type; | |||||
| /* Mesh Data */ | /* Mesh Data */ | ||||
| enum GeometryFlags { | enum GeometryFlags { | ||||
| GEOMETRY_NONE = 0, | GEOMETRY_NONE = 0, | ||||
| GEOMETRY_TRIANGLES = (1 << 0), | GEOMETRY_TRIANGLES = (1 << 0), | ||||
| GEOMETRY_CURVES = (1 << 1), | GEOMETRY_CURVES = (1 << 1), | ||||
| }; | }; | ||||
| int geometry_flags; /* used to distinguish meshes with no verts | int geometry_flags; /* used to distinguish meshes with no verts | ||||
| and meshed for which geometry is not created */ | and meshed for which geometry is not created */ | ||||
| ▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines | |||||