Blender V4.3
BKE_subdiv_eval.hh File Reference
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "BLI_sys_types.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::subdiv
 

Enumerations

enum  blender::bke::subdiv::eSubdivEvaluatorType { blender::bke::subdiv::SUBDIV_EVALUATOR_TYPE_CPU , blender::bke::subdiv::SUBDIV_EVALUATOR_TYPE_GPU }
 

Functions

bool blender::bke::subdiv::eval_begin (Subdiv *subdiv, eSubdivEvaluatorType evaluator_type, OpenSubdiv_EvaluatorCache *evaluator_cache, const OpenSubdiv_EvaluatorSettings *settings)
 
bool blender::bke::subdiv::eval_begin_from_mesh (Subdiv *subdiv, const Mesh *mesh, Span< float3 > coarse_vert_positions, eSubdivEvaluatorType evaluator_type, OpenSubdiv_EvaluatorCache *evaluator_cache)
 
bool blender::bke::subdiv::eval_refine_from_mesh (Subdiv *subdiv, const Mesh *mesh, Span< float3 > coarse_vert_positions)
 
void blender::bke::subdiv::eval_init_displacement (Subdiv *subdiv)
 
void blender::bke::subdiv::eval_limit_point (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3])
 
void blender::bke::subdiv::eval_limit_point_and_derivatives (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3], float r_dPdu[3], float r_dPdv[3])
 
void blender::bke::subdiv::eval_limit_point_and_normal (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3], float r_N[3])
 
void blender::bke::subdiv::eval_vertex_data (Subdiv *subdiv, const int ptex_face_index, const float u, const float v, float r_vertex_data[])
 
void blender::bke::subdiv::eval_face_varying (Subdiv *subdiv, int face_varying_channel, int ptex_face_index, float u, float v, float r_face_varying[2])
 
void blender::bke::subdiv::eval_displacement (Subdiv *subdiv, int ptex_face_index, float u, float v, const float dPdu[3], const float dPdv[3], float r_D[3])
 
void blender::bke::subdiv::eval_final_point (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3])