Blender V5.0
blender::opensubdiv::EvalOutputAPI::EvalOutput Class Referenceabstract

#include <eval_output.h>

Inherited by blender::opensubdiv::VolatileEvalOutput< CpuVertexBuffer, CpuVertexBuffer, StencilTable, CpuPatchTable, CpuEvaluator >, blender::opensubdiv::VolatileEvalOutput< GPUVertexBuffer, GPUVertexBuffer, GPUStencilTableSSBO, GPUPatchTable, GPUComputeEvaluator >, and blender::opensubdiv::VolatileEvalOutput< SRC_VERTEX_BUFFER, EVAL_VERTEX_BUFFER, STENCIL_TABLE, PATCH_TABLE, EVALUATOR, DEVICE_CONTEXT >.

Public Member Functions

virtual ~EvalOutput ()=default
virtual void updateSettings (const OpenSubdiv_EvaluatorSettings *settings)=0
virtual void updateData (const float *src, int start_vertex, int num_vertices)=0
virtual void updateVaryingData (const float *src, int start_vertex, int num_vertices)=0
virtual void updateVertexData (const float *src, int start_vertex, int num_vertices)=0
virtual void updateFaceVaryingData (const int face_varying_channel, const float *src, int start_vertex, int num_vertices)=0
virtual void refine ()=0
virtual void evalPatches (const PatchCoord *patch_coord, const int num_patch_coords, float *P)=0
virtual void evalPatchesWithDerivatives (const PatchCoord *patch_coord, const int num_patch_coords, float *P, float *dPdu, float *dPdv)=0
virtual void evalPatchesVarying (const PatchCoord *patch_coord, const int num_patch_coords, float *varying)=0
virtual void evalPatchesVertexData (const PatchCoord *patch_coord, const int num_patch_coords, float *vertex_data)=0
virtual void evalPatchesFaceVarying (const int face_varying_channel, const PatchCoord *patch_coord, const int num_patch_coords, float face_varying[2])=0
virtual gpu::StorageBufcreate_patch_arrays_buf ()
virtual gpu::StorageBufget_patch_index_buf ()
virtual gpu::StorageBufget_patch_param_buf ()
virtual gpu::VertBufget_source_buf ()
virtual gpu::VertBufget_source_data_buf ()
virtual gpu::StorageBufcreate_face_varying_patch_array_buf (const int)
virtual gpu::StorageBufget_face_varying_patch_index_buf (const int)
virtual gpu::StorageBufget_face_varying_patch_param_buf (const int)
virtual gpu::VertBufget_face_varying_source_buf (const int)
virtual int get_face_varying_source_offset (const int) const
virtual bool hasVertexData () const

Detailed Description

Definition at line 28 of file eval_output.h.

Constructor & Destructor Documentation

◆ ~EvalOutput()

virtual blender::opensubdiv::EvalOutputAPI::EvalOutput::~EvalOutput ( )
virtualdefault

Member Function Documentation

◆ create_face_varying_patch_array_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::create_face_varying_patch_array_buf ( const int )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 104 of file eval_output.h.

◆ create_patch_arrays_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::create_patch_arrays_buf ( )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 79 of file eval_output.h.

◆ evalPatches()

◆ evalPatchesFaceVarying()

◆ evalPatchesVarying()

◆ evalPatchesVertexData()

◆ evalPatchesWithDerivatives()

◆ get_face_varying_patch_index_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_face_varying_patch_index_buf ( const int )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 109 of file eval_output.h.

◆ get_face_varying_patch_param_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_face_varying_patch_param_buf ( const int )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 114 of file eval_output.h.

◆ get_face_varying_source_buf()

virtual gpu::VertBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_face_varying_source_buf ( const int )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 118 of file eval_output.h.

◆ get_face_varying_source_offset()

◆ get_patch_index_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_patch_index_buf ( )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 84 of file eval_output.h.

◆ get_patch_param_buf()

virtual gpu::StorageBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_patch_param_buf ( )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 89 of file eval_output.h.

◆ get_source_buf()

virtual gpu::VertBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_source_buf ( )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 94 of file eval_output.h.

◆ get_source_data_buf()

virtual gpu::VertBuf * blender::opensubdiv::EvalOutputAPI::EvalOutput::get_source_data_buf ( )
inlinevirtual

Reimplemented in blender::opensubdiv::GpuEvalOutput.

Definition at line 99 of file eval_output.h.

◆ hasVertexData()

◆ refine()

◆ updateData()

◆ updateFaceVaryingData()

◆ updateSettings()

◆ updateVaryingData()

◆ updateVertexData()


The documentation for this class was generated from the following file: