Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | BKE_subdiv_converter_free (struct OpenSubdiv_Converter *converter) |
int | BKE_subdiv_converter_vtx_boundary_interpolation_from_settings (const SubdivSettings *settings) |
int | BKE_subdiv_converter_fvar_linear_from_settings (const SubdivSettings *settings) |
void BKE_subdiv_converter_free | ( | struct OpenSubdiv_Converter * | converter | ) |
Definition at line 14 of file subdiv_converter.c.
References OpenSubdiv_Converter::freeUserData.
Referenced by BKE_subdiv_new_from_mesh(), BKE_subdiv_update_from_mesh(), reshape_subdiv_create(), and subdiv_for_simple_to_catmull_clark().
int BKE_subdiv_converter_fvar_linear_from_settings | ( | const SubdivSettings * | settings | ) |
Definition at line 35 of file subdiv_converter.c.
References BLI_assert_msg, SubdivSettings::fvar_linear_interpolation, OSD_FVAR_LINEAR_INTERPOLATION_ALL, OSD_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_ONLY, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS1, OSD_FVAR_LINEAR_INTERPOLATION_CORNERS_PLUS2, OSD_FVAR_LINEAR_INTERPOLATION_NONE, SUBDIV_FVAR_LINEAR_INTERPOLATION_ALL, SUBDIV_FVAR_LINEAR_INTERPOLATION_BOUNDARIES, SUBDIV_FVAR_LINEAR_INTERPOLATION_CORNERS_AND_JUNCTIONS, SUBDIV_FVAR_LINEAR_INTERPOLATION_CORNERS_JUNCTIONS_AND_CONCAVE, SUBDIV_FVAR_LINEAR_INTERPOLATION_CORNERS_ONLY, and SUBDIV_FVAR_LINEAR_INTERPOLATION_NONE.
Referenced by get_fvar_linear_interpolation().
int BKE_subdiv_converter_vtx_boundary_interpolation_from_settings | ( | const SubdivSettings * | settings | ) |
Definition at line 21 of file subdiv_converter.c.
References BLI_assert_msg, OSD_VTX_BOUNDARY_EDGE_AND_CORNER, OSD_VTX_BOUNDARY_EDGE_ONLY, OSD_VTX_BOUNDARY_NONE, SUBDIV_VTX_BOUNDARY_EDGE_AND_CORNER, SUBDIV_VTX_BOUNDARY_EDGE_ONLY, SUBDIV_VTX_BOUNDARY_NONE, and SubdivSettings::vtx_boundary_interpolation.
Referenced by get_vtx_boundary_interpolation().