|
Blender V5.0
|
#include <eval_output.h>
Inherits blender::opensubdiv::EvalOutputAPI::EvalOutput.
Public Types | |
| using | EvaluatorCache = OpenSubdiv::Osd::EvaluatorCacheT<EVALUATOR> |
| using | FaceVaryingEval |
Public Member Functions | |
| VolatileEvalOutput (const StencilTable *vertex_stencils, const StencilTable *varying_stencils, const std::vector< const StencilTable * > &all_face_varying_stencils, const int face_varying_width, const PatchTable *patch_table, EvaluatorCache *evaluator_cache=NULL, DEVICE_CONTEXT *device_context=NULL) | |
| ~VolatileEvalOutput () override | |
| void | updateSettings (const OpenSubdiv_EvaluatorSettings *settings) override |
| void | updateData (const float *src, int start_vertex, int num_vertices) override |
| void | updateVaryingData (const float *src, int start_vertex, int num_vertices) override |
| void | updateVertexData (const float *src, int start_vertex, int num_vertices) override |
| void | updateFaceVaryingData (const int face_varying_channel, const float *src, int start_vertex, int num_vertices) override |
| bool | hasVaryingData () const |
| bool | hasFaceVaryingData () const |
| bool | hasVertexData () const override |
| void | refine () override |
| void | evalPatches (const PatchCoord *patch_coord, const int num_patch_coords, float *P) override |
| void | evalPatchesWithDerivatives (const PatchCoord *patch_coord, const int num_patch_coords, float *P, float *dPdu, float *dPdv) override |
| void | evalPatchesVarying (const PatchCoord *patch_coord, const int num_patch_coords, float *varying) override |
| void | evalPatchesVertexData (const PatchCoord *patch_coord, const int num_patch_coords, float *data) override |
| void | evalPatchesFaceVarying (const int face_varying_channel, const PatchCoord *patch_coord, const int num_patch_coords, float face_varying[2]) override |
| SRC_VERTEX_BUFFER * | getSrcBuffer () const |
| SRC_VERTEX_BUFFER * | getSrcVertexDataBuffer () const |
| PATCH_TABLE * | getPatchTable () const |
| SRC_VERTEX_BUFFER * | getFVarSrcBuffer (const int face_varying_channel) const |
| int | get_face_varying_source_offset (const int face_varying_channel) const override |
| PATCH_TABLE * | getFVarPatchTable (const int face_varying_channel) const |
| Public Member Functions inherited from blender::opensubdiv::EvalOutputAPI::EvalOutput | |
| virtual | ~EvalOutput ()=default |
| virtual gpu::StorageBuf * | create_patch_arrays_buf () |
| virtual gpu::StorageBuf * | get_patch_index_buf () |
| virtual gpu::StorageBuf * | get_patch_param_buf () |
| virtual gpu::VertBuf * | get_source_buf () |
| virtual gpu::VertBuf * | get_source_data_buf () |
| virtual gpu::StorageBuf * | create_face_varying_patch_array_buf (const int) |
| virtual gpu::StorageBuf * | get_face_varying_patch_index_buf (const int) |
| virtual gpu::StorageBuf * | get_face_varying_patch_param_buf (const int) |
| virtual gpu::VertBuf * | get_face_varying_source_buf (const int) |
Definition at line 329 of file eval_output.h.
| using blender::opensubdiv::VolatileEvalOutput< SRC_VERTEX_BUFFER, EVAL_VERTEX_BUFFER, STENCIL_TABLE, PATCH_TABLE, EVALUATOR, DEVICE_CONTEXT >::EvaluatorCache = OpenSubdiv::Osd::EvaluatorCacheT<EVALUATOR> |
Definition at line 331 of file eval_output.h.
| using blender::opensubdiv::VolatileEvalOutput< SRC_VERTEX_BUFFER, EVAL_VERTEX_BUFFER, STENCIL_TABLE, PATCH_TABLE, EVALUATOR, DEVICE_CONTEXT >::FaceVaryingEval |
Definition at line 332 of file eval_output.h.
|
inline |
Definition at line 338 of file eval_output.h.
|
inlineoverride |
Definition at line 380 of file eval_output.h.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 507 of file eval_output.h.
References blender::opensubdiv::RawDataWrapperVertexBuffer< T >::GetNumVertices(), and P.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 600 of file eval_output.h.
References assert.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 559 of file eval_output.h.
References blender::opensubdiv::RawDataWrapperVertexBuffer< T >::GetNumVertices().
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 580 of file eval_output.h.
References data, and blender::opensubdiv::RawDataWrapperVertexBuffer< T >::GetNumVertices().
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 527 of file eval_output.h.
References assert, blender::opensubdiv::RawDataWrapperVertexBuffer< T >::GetNumVertices(), and P.
|
inlineoverridevirtual |
Reimplemented from blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 631 of file eval_output.h.
|
inline |
Definition at line 636 of file eval_output.h.
|
inline |
Definition at line 626 of file eval_output.h.
|
inline |
Definition at line 621 of file eval_output.h.
|
inline |
Definition at line 611 of file eval_output.h.
|
inline |
Definition at line 616 of file eval_output.h.
|
inline |
Definition at line 444 of file eval_output.h.
Referenced by refine().
|
inline |
Definition at line 437 of file eval_output.h.
Referenced by refine().
|
inlineoverridevirtual |
Reimplemented from blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 449 of file eval_output.h.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 454 of file eval_output.h.
References hasFaceVaryingData(), and hasVaryingData().
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 412 of file eval_output.h.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 427 of file eval_output.h.
References assert.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 393 of file eval_output.h.
References OpenSubdiv_EvaluatorSettings::num_vertex_data.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 417 of file eval_output.h.
|
inlineoverridevirtual |
Implements blender::opensubdiv::EvalOutputAPI::EvalOutput.
Definition at line 422 of file eval_output.h.