diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-17 19:06:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-18 16:42:49 +0300 |
commit | c64262a05ab0e9a7c5b69fc83ea53fb5825f442c (patch) | |
tree | 014de046f9e9af6b5642086547e7c3e554b90bbf /intern/opensubdiv/opensubdiv_capi_type.h | |
parent | 428743a9b06cc09b4eb4dd3e7794d45d13457fb8 (diff) |
OpenSubdiv: Add API to evaluate face-varying data
There are move changes along the line to keep everything
working from from C.
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 |