Blender V2.61 - r43446
Functions

blender_mesh.cpp File Reference

#include "mesh.h"
#include "object.h"
#include "scene.h"
#include "blender_sync.h"
#include "blender_util.h"
#include "subd_mesh.h"
#include "subd_patch.h"
#include "subd_split.h"
#include "util_foreach.h"

Go to the source code of this file.

Functions

static CCL_NAMESPACE_BEGIN bool mesh_need_attribute (Scene *scene, Mesh *mesh, Attribute::Standard std)
static bool mesh_need_attribute (Scene *scene, Mesh *mesh, ustring name)
static void create_mesh (Scene *scene, Mesh *mesh, BL::Mesh b_mesh, const vector< uint > &used_shaders)
static void create_subd_mesh (Mesh *mesh, BL::Mesh b_mesh, PointerRNA *cmesh, const vector< uint > &used_shaders)

Function Documentation

static void create_mesh ( Scene scene,
Mesh mesh,
BL::Mesh  b_mesh,
const vector< uint > &  used_shaders 
) [static]
static void create_subd_mesh ( Mesh mesh,
BL::Mesh  b_mesh,
PointerRNA cmesh,
const vector< uint > &  used_shaders 
) [static]
static CCL_NAMESPACE_BEGIN bool mesh_need_attribute ( Scene scene,
Mesh mesh,
Attribute::Standard  std 
) [static]

Definition at line 36 of file blender_mesh.cpp.

References Scene::shaders, Attribute::STD_NONE, and Mesh::used_shaders.

Referenced by create_mesh().

static bool mesh_need_attribute ( Scene scene,
Mesh mesh,
ustring  name 
) [static]

Definition at line 48 of file blender_mesh.cpp.

References Scene::shaders, and Mesh::used_shaders.