diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-22 15:46:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-22 15:56:15 +0300 |
commit | 48c4b700dce0b326e1b905e133c0db1217a5cae0 (patch) | |
tree | d520f9d02eeaa7deb7774ed4dca84bdedd0d7914 /intern/opensubdiv/opensubdiv_capi.h | |
parent | 98970f71fe95e6b842582f5b71f3081798a8f54a (diff) |
OpenSubdiv: Lay down fundamentals to support multiple UV maps
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi.h')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.h b/intern/opensubdiv/opensubdiv_capi.h index 0410083304e..c3a194813e6 100644 --- a/intern/opensubdiv/opensubdiv_capi.h +++ b/intern/opensubdiv/opensubdiv_capi.h @@ -131,7 +131,8 @@ void openSubdiv_evaluateVarying(OpenSubdiv_EvaluatorDescr *evaluator_descr, * * TODO(sergey): Some of the stuff could be initialized once for all meshes. */ -void openSubdiv_osdGLMeshDisplayPrepare(int use_osd_glsl); +void openSubdiv_osdGLMeshDisplayPrepare(int use_osd_glsl, + int active_uv_index); /* Draw specified patches. */ void openSubdiv_osdGLMeshDisplay(OpenSubdiv_GLMesh *gl_mesh, @@ -139,7 +140,8 @@ void openSubdiv_osdGLMeshDisplay(OpenSubdiv_GLMesh *gl_mesh, int start_patch, int num_patches); -void openSubdiv_osdGLAllocFVar(OpenSubdiv_GLMesh *gl_mesh, +void openSubdiv_osdGLAllocFVar(struct OpenSubdiv_TopologyRefinerDescr *topology_refiner, + OpenSubdiv_GLMesh *gl_mesh, const float *fvar_data); void openSubdiv_osdGLDestroyFVar(OpenSubdiv_GLMesh *gl_mesh); |