Blender
V3.3
|
#include <opensubdiv_evaluator_capi.h>
Public Attributes | |
void(* | setSettings )(struct OpenSubdiv_Evaluator *evaluator, const OpenSubdiv_EvaluatorSettings *settings) |
void(* | setCoarsePositions )(struct OpenSubdiv_Evaluator *evaluator, const float *positions, const int start_vertex_index, const int num_vertices) |
void(* | setVertexData )(struct OpenSubdiv_Evaluator *evaluator, const float *data, const int start_vertex_index, const int num_vertices) |
void(* | setVaryingData )(struct OpenSubdiv_Evaluator *evaluator, const float *varying_data, const int start_vertex_index, const int num_vertices) |
void(* | setFaceVaryingData )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const float *face_varying_data, const int start_vertex_index, const int num_vertices) |
void(* | setCoarsePositionsFromBuffer )(struct OpenSubdiv_Evaluator *evaluator, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
void(* | setVaryingDataFromBuffer )(struct OpenSubdiv_Evaluator *evaluator, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
void(* | setFaceVaryingDataFromBuffer )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
void(* | refine )(struct OpenSubdiv_Evaluator *evaluator) |
void(* | evaluateLimit )(struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float P[3], float dPdu[3], float dPdv[3]) |
void(* | evaluateVertexData )(struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float data[]) |
void(* | evaluateVarying )(struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float varying[3]) |
void(* | evaluateFaceVarying )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const int ptex_face_index, float face_u, float face_v, float face_varying[2]) |
void(* | evaluatePatchesLimit )(struct OpenSubdiv_Evaluator *evaluator, const struct OpenSubdiv_PatchCoord *patch_coords, const int num_patch_coords, float *P, float *dPdu, float *dPdv) |
void(* | getPatchMap )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_map_handles, struct OpenSubdiv_Buffer *patch_map_quadtree, int *min_patch_face, int *max_patch_face, int *max_depth, int *patches_are_triangular) |
void(* | fillPatchArraysBuffer )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_array_buffer) |
void(* | wrapPatchIndexBuffer )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_index_buffer) |
void(* | wrapPatchParamBuffer )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_param_buffer) |
void(* | wrapSrcBuffer )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *src_buffer) |
void(* | wrapSrcVertexDataBuffer )(struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *src_buffer) |
void(* | fillFVarPatchArraysBuffer )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_array_buffer) |
void(* | wrapFVarPatchIndexBuffer )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_index_buffer) |
void(* | wrapFVarPatchParamBuffer )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_param_buffer) |
void(* | wrapFVarSrcBuffer )(struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *src_buffer) |
bool(* | hasVertexData )(struct OpenSubdiv_Evaluator *evaluator) |
struct OpenSubdiv_EvaluatorImpl * | impl |
eOpenSubdivEvaluator | type |
Definition at line 71 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::evaluateFaceVarying) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const int ptex_face_index, float face_u, float face_v, float face_varying[2]) |
Definition at line 162 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_eval_face_varying().
void(* OpenSubdiv_Evaluator::evaluateLimit) (struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float P[3], float dPdu[3], float dPdv[3]) |
Definition at line 138 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_eval_limit_point_and_derivatives().
void(* OpenSubdiv_Evaluator::evaluatePatchesLimit) (struct OpenSubdiv_Evaluator *evaluator, const struct OpenSubdiv_PatchCoord *patch_coords, const int num_patch_coords, float *P, float *dPdu, float *dPdv) |
Definition at line 175 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::evaluateVarying) (struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float varying[3]) |
Definition at line 154 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::evaluateVertexData) (struct OpenSubdiv_Evaluator *evaluator, const int ptex_face_index, float face_u, float face_v, float data[]) |
Definition at line 147 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_eval_vertex_data().
void(* OpenSubdiv_Evaluator::fillFVarPatchArraysBuffer) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_array_buffer) |
Definition at line 212 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_extract_uvs().
void(* OpenSubdiv_Evaluator::fillPatchArraysBuffer) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_array_buffer) |
Definition at line 192 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_build_fdots_buffers(), and draw_subdiv_extract_pos_nor().
void(* OpenSubdiv_Evaluator::getPatchMap) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_map_handles, struct OpenSubdiv_Buffer *patch_map_quadtree, int *min_patch_face, int *max_patch_face, int *max_depth, int *patches_are_triangular) |
Definition at line 183 of file opensubdiv_evaluator_capi.h.
Referenced by draw_patch_map_build().
bool(* OpenSubdiv_Evaluator::hasVertexData) (struct OpenSubdiv_Evaluator *evaluator) |
Definition at line 232 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_invalidate_evaluator_for_orco().
struct OpenSubdiv_EvaluatorImpl* OpenSubdiv_Evaluator::impl |
Definition at line 235 of file opensubdiv_evaluator_capi.h.
Referenced by openSubdiv_createEvaluatorFromTopologyRefiner(), and openSubdiv_deleteEvaluator().
void(* OpenSubdiv_Evaluator::refine) (struct OpenSubdiv_Evaluator *evaluator) |
Definition at line 134 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_eval_refine_from_mesh(), and reshape_subdiv_refine().
void(* OpenSubdiv_Evaluator::setCoarsePositions) (struct OpenSubdiv_Evaluator *evaluator, const float *positions, const int start_vertex_index, const int num_vertices) |
Definition at line 77 of file opensubdiv_evaluator_capi.h.
Referenced by reshape_subdiv_refine(), and set_coarse_positions().
void(* OpenSubdiv_Evaluator::setCoarsePositionsFromBuffer) (struct OpenSubdiv_Evaluator *evaluator, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
Definition at line 104 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::setFaceVaryingData) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const float *face_varying_data, const int start_vertex_index, const int num_vertices) |
Definition at line 95 of file opensubdiv_evaluator_capi.h.
Referenced by set_face_varying_data_from_uv().
void(* OpenSubdiv_Evaluator::setFaceVaryingDataFromBuffer) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
Definition at line 125 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::setSettings) (struct OpenSubdiv_Evaluator *evaluator, const OpenSubdiv_EvaluatorSettings *settings) |
Definition at line 73 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_eval_begin().
void(* OpenSubdiv_Evaluator::setVaryingData) (struct OpenSubdiv_Evaluator *evaluator, const float *varying_data, const int start_vertex_index, const int num_vertices) |
Definition at line 87 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::setVaryingDataFromBuffer) (struct OpenSubdiv_Evaluator *evaluator, const void *buffer, const int start_offset, const int stride, const int start_vertex_index, const int num_vertices) |
Definition at line 113 of file opensubdiv_evaluator_capi.h.
void(* OpenSubdiv_Evaluator::setVertexData) (struct OpenSubdiv_Evaluator *evaluator, const float *data, const int start_vertex_index, const int num_vertices) |
Definition at line 82 of file opensubdiv_evaluator_capi.h.
Referenced by set_vertex_data_from_orco().
eOpenSubdivEvaluator OpenSubdiv_Evaluator::type |
Definition at line 238 of file opensubdiv_evaluator_capi.h.
Referenced by BKE_subdiv_free(), DRW_cache_free_old_subdiv(), and openSubdiv_createEvaluatorFromTopologyRefiner().
void(* OpenSubdiv_Evaluator::wrapFVarPatchIndexBuffer) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_index_buffer) |
Definition at line 217 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_extract_uvs().
void(* OpenSubdiv_Evaluator::wrapFVarPatchParamBuffer) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *patch_param_buffer) |
Definition at line 222 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_extract_uvs().
void(* OpenSubdiv_Evaluator::wrapFVarSrcBuffer) (struct OpenSubdiv_Evaluator *evaluator, const int face_varying_channel, struct OpenSubdiv_Buffer *src_buffer) |
Definition at line 227 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_extract_uvs().
void(* OpenSubdiv_Evaluator::wrapPatchIndexBuffer) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_index_buffer) |
Definition at line 196 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_build_fdots_buffers(), and draw_subdiv_extract_pos_nor().
void(* OpenSubdiv_Evaluator::wrapPatchParamBuffer) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *patch_param_buffer) |
Definition at line 200 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_build_fdots_buffers(), and draw_subdiv_extract_pos_nor().
void(* OpenSubdiv_Evaluator::wrapSrcBuffer) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *src_buffer) |
Definition at line 204 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_build_fdots_buffers(), and draw_subdiv_extract_pos_nor().
void(* OpenSubdiv_Evaluator::wrapSrcVertexDataBuffer) (struct OpenSubdiv_Evaluator *evaluator, struct OpenSubdiv_Buffer *src_buffer) |
Definition at line 208 of file opensubdiv_evaluator_capi.h.
Referenced by draw_subdiv_extract_pos_nor().