Blender  V3.3
Classes | Functions
blender::opensubdiv Namespace Reference

Classes

class  FaceVaryingVolatileEval
 
class  VolatileEvalOutput
 
class  CpuEvalOutput
 
class  GpuEvalOutput
 
class  EvalOutputAPI
 
class  GLStencilTableSSBO
 GL stencil table (Shader Storage buffer) More...
 
class  GLComputeEvaluator
 
class  PatchMap
 An quadtree-based map connecting coarse faces to their sub-patches. More...
 
class  MeshTopology
 
class  TopologyRefinerImpl
 

Functions

OpenSubdiv::Sdc::SchemeType getSchemeTypeFromCAPI (OpenSubdiv_SchemeType type)
 
OpenSubdiv::Sdc::Options::FVarLinearInterpolation getFVarLinearInterpolationFromCAPI (OpenSubdiv_FVarLinearInterpolation linear_interpolation)
 
OpenSubdiv_FVarLinearInterpolation getCAPIFVarLinearInterpolationFromOSD (OpenSubdiv::Sdc::Options::FVarLinearInterpolation linear_interpolation)
 
OpenSubdiv::Sdc::Options::VtxBoundaryInterpolation getVtxBoundaryInterpolationFromCAPI (OpenSubdiv_VtxBoundaryInterpolation boundary_interpolation)
 
void stringSplit (vector< string > *tokens, const string &str, const string &separators, bool skip_empty)
 
bool is_adaptive (CpuPatchTable *patch_table)
 
bool is_adaptive (GLPatchTable *patch_table)
 
template<class T >
GLuint createSSBO (std::vector< T > const &src)
 
static GLuint compileKernel (BufferDescriptor const &srcDesc, BufferDescriptor const &dstDesc, BufferDescriptor const &duDesc, BufferDescriptor const &dvDesc, BufferDescriptor const &duuDesc, BufferDescriptor const &duvDesc, BufferDescriptor const &dvvDesc, const char *kernelDefine, int workGroupSize)
 
 TEST (MeshTopology, TrivialVertexSharpness)
 
 TEST (MeshTopology, TrivialEdgeSharpness)
 
 TEST (MeshTopology, TrivialFaceTopology)
 

Function Documentation

◆ compileKernel()

static GLuint blender::opensubdiv::compileKernel ( BufferDescriptor const &  srcDesc,
BufferDescriptor const &  dstDesc,
BufferDescriptor const &  duDesc,
BufferDescriptor const &  dvDesc,
BufferDescriptor const &  duuDesc,
BufferDescriptor const &  duvDesc,
BufferDescriptor const &  dvvDesc,
const char *  kernelDefine,
int  workGroupSize 
)
static

◆ createSSBO()

template<class T >
GLuint blender::opensubdiv::createSSBO ( std::vector< T > const &  src)

Definition at line 51 of file gl_compute_evaluator.cc.

References blender::meshintersect::prev(), src, and T.

◆ getCAPIFVarLinearInterpolationFromOSD()

OpenSubdiv_FVarLinearInterpolation blender::opensubdiv::getCAPIFVarLinearInterpolationFromOSD ( OpenSubdiv::Sdc::Options::FVarLinearInterpolation  linear_interpolation)

◆ getFVarLinearInterpolationFromCAPI()

OpenSubdiv::Sdc::Options::FVarLinearInterpolation blender::opensubdiv::getFVarLinearInterpolationFromCAPI ( OpenSubdiv_FVarLinearInterpolation  linear_interpolation)

◆ getSchemeTypeFromCAPI()

OpenSubdiv::Sdc::SchemeType blender::opensubdiv::getSchemeTypeFromCAPI ( OpenSubdiv_SchemeType  type)

Definition at line 31 of file type_convert.cc.

References OSD_SCHEME_BILINEAR, OSD_SCHEME_CATMARK, OSD_SCHEME_LOOP, and type.

◆ getVtxBoundaryInterpolationFromCAPI()

OpenSubdiv::Sdc::Options::VtxBoundaryInterpolation blender::opensubdiv::getVtxBoundaryInterpolationFromCAPI ( OpenSubdiv_VtxBoundaryInterpolation  boundary_interpolation)

◆ is_adaptive() [1/2]

bool blender::opensubdiv::is_adaptive ( CpuPatchTable *  patch_table)

◆ is_adaptive() [2/2]

bool blender::opensubdiv::is_adaptive ( GLPatchTable *  patch_table)

Definition at line 29 of file eval_output.cc.

◆ stringSplit()

void blender::opensubdiv::stringSplit ( vector< string > *  tokens,
const string &  str,
const string &  separators,
bool  skip_empty 
)

Definition at line 22 of file util.cc.

References str.

Referenced by openSubdiv_getVersionHex().

◆ TEST() [1/3]

blender::opensubdiv::TEST ( MeshTopology  ,
TrivialEdgeSharpness   
)

◆ TEST() [2/3]

blender::opensubdiv::TEST ( MeshTopology  ,
TrivialFaceTopology   
)

◆ TEST() [3/3]

blender::opensubdiv::TEST ( MeshTopology  ,
TrivialVertexSharpness   
)