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_converter_capi.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_converter_capi.h')
-rw-r--r-- | intern/opensubdiv/opensubdiv_converter_capi.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/intern/opensubdiv/opensubdiv_converter_capi.h b/intern/opensubdiv/opensubdiv_converter_capi.h index b16d6eb6c8f..a939f1117e0 100644 --- a/intern/opensubdiv/opensubdiv_converter_capi.h +++ b/intern/opensubdiv/opensubdiv_converter_capi.h @@ -19,23 +19,12 @@ #ifndef OPENSUBDIV_CONVERTER_CAPI_H_ #define OPENSUBDIV_CONVERTER_CAPI_H_ +#include "opensubdiv_capi_type.h" + #ifdef __cplusplus extern "C" { #endif -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_BOUNDARIES, - OSD_FVAR_LINEAR_INTERPOLATION_ALL, -} OpenSubdiv_FVarLinearInterpolation; - typedef struct OpenSubdiv_Converter { OpenSubdiv_SchemeType (*getSchemeType)( const struct OpenSubdiv_Converter* converter); |