Blender V5.3
mesh.cc File Reference
#include "mesh.hh"
#include <pxr/imaging/hd/materialBindingSchema.h>
#include <pxr/imaging/hd/materialBindingsSchema.h>
#include <pxr/imaging/hd/meshSchema.h>
#include <pxr/imaging/hd/meshTopologySchema.h>
#include <pxr/imaging/hd/overlayContainerDataSource.h>
#include <pxr/imaging/hd/primvarSchema.h>
#include <pxr/imaging/hd/primvarsSchema.h>
#include <pxr/imaging/hd/retainedDataSource.h>
#include <pxr/imaging/hd/tokens.h>
#include <pxr/imaging/hd/visibilitySchema.h>
#include <pxr/imaging/hd/xformSchema.h>
#include <pxr/imaging/pxOsd/tokens.h>
#include "BLI_index_mask.hh"
#include "BLI_task.hh"
#include "BLI_vector_set.hh"
#include "BKE_attribute.hh"
#include "BKE_material.hh"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "populate_context.hh"
#include "util.hh"

Go to the source code of this file.

Classes

struct  blender::io::hydra::SubMesh

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::io
namespace  blender::io::hydra

Functions

static const pxr::TfToken blender::io::hydra::usd_st_token ("st", pxr::TfToken::Immortal)
static void blender::io::hydra::copy_submesh (const Mesh &mesh, const Span< float3 > vert_positions, const Span< int > corner_verts, const Span< int3 > corner_tris, const Span< int > tri_faces, const Span< float3 > face_normals, const Span< float3 > vert_normals, const Span< float3 > corner_normals, const bke::MeshNormalDomain normals_domain, const Span< float2 > uv_map, const IndexMask &triangles, SubMesh &sm)
static Vector< SubMesh > blender::io::hydra::build_submeshes (const Object *object, const Mesh &mesh)
static EmittedGeometryPrim blender::io::hydra::build_submesh_geometry (const SubMesh &sm, const pxr::SdfPath &material_path, const bool double_sided)
static const EmittedGeometry & blender::io::hydra::get_or_build_emitted_mesh (PopulateContext &ctx, const BObjectInfo &info, const EmittedGeometryKey &key)
void blender::io::hydra::emit_mesh_object (PopulateContext &ctx, const BObjectInfo &info, EmittedObject &emitted)
void blender::io::hydra::emit_mesh_proto (PopulateContext &ctx, const BObjectInfo &info)