Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_subdiv.h
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | typedef enum eSubdivFVarLinearInterpolation { | ||||
| SUBDIV_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, | SUBDIV_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, | ||||
| SUBDIV_FVAR_LINEAR_INTERPOLATION_ALL, | SUBDIV_FVAR_LINEAR_INTERPOLATION_ALL, | ||||
| } eSubdivFVarLinearInterpolation; | } eSubdivFVarLinearInterpolation; | ||||
| typedef struct SubdivSettings { | typedef struct SubdivSettings { | ||||
| bool is_simple; | bool is_simple; | ||||
| bool is_adaptive; | bool is_adaptive; | ||||
| int level; | int level; | ||||
| bool use_creases; | |||||
| eSubdivVtxBoundaryInterpolation vtx_boundary_interpolation; | eSubdivVtxBoundaryInterpolation vtx_boundary_interpolation; | ||||
| eSubdivFVarLinearInterpolation fvar_linear_interpolation; | eSubdivFVarLinearInterpolation fvar_linear_interpolation; | ||||
| } SubdivSettings; | } SubdivSettings; | ||||
| /* NOTE: Order of enumerators MUST match order of values in SubdivStats. */ | /* NOTE: Order of enumerators MUST match order of values in SubdivStats. */ | ||||
| typedef enum eSubdivStatsValue { | typedef enum eSubdivStatsValue { | ||||
| SUBDIV_STATS_TOPOLOGY_REFINER_CREATION_TIME = 0, | SUBDIV_STATS_TOPOLOGY_REFINER_CREATION_TIME = 0, | ||||
| SUBDIV_STATS_SUBDIV_TO_MESH, | SUBDIV_STATS_SUBDIV_TO_MESH, | ||||
| ▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines | |||||