diff options
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi_type.h')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi_type.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi_type.h b/intern/opensubdiv/opensubdiv_capi_type.h index 04fe2afff53..b326e53e168 100644 --- a/intern/opensubdiv/opensubdiv_capi_type.h +++ b/intern/opensubdiv/opensubdiv_capi_type.h @@ -34,6 +34,21 @@ typedef enum eOpenSubdivEvaluator { OPENSUBDIV_EVALUATOR_GLSL_COMPUTE = (1 << 5), } eOpenSubdivEvaluator; +typedef enum OpenSubdiv_SchemeType { + OSD_SCHEME_BILINEAR, + OSD_SCHEME_CATMARK, + OSD_SCHEME_LOOP, +} OpenSubdiv_SchemeType; + +typedef enum OpenSubdiv_FVarLinearInterpolation { + OSD_FVAR_LINEAR_INTERPOLATION_NONE, + OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_ONLY, + OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS1, + OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS2, + OSD_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, + OSD_FVAR_LINEAR_INTERPOLATION_ALL, +} OpenSubdiv_FVarLinearInterpolation; + #ifdef __cplusplus } #endif |