Blender V4.3
usd_writer_abstract.cc File Reference
#include "usd_writer_abstract.hh"
#include "usd_utils.hh"
#include "usd_writer_material.hh"
#include <pxr/base/tf/stringUtils.h>
#include <pxr/usd/usdGeom/bboxCache.h>
#include <pxr/usd/usdGeom/scope.h>
#include "BKE_customdata.hh"
#include "BKE_report.hh"
#include "BLI_assert.h"
#include "DNA_mesh_types.h"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  usdtokens
 
namespace  blender
 
namespace  blender::io
 
namespace  blender::io::usd
 

Functions

static const pxr::TfToken usdtokens::diffuse_color ("diffuseColor", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::metallic ("metallic", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::preview_shader ("previewShader", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::preview_surface ("UsdPreviewSurface", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::roughness ("roughness", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::surface ("surface", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::blender_ns ("userProperties:blender", pxr::TfToken::Immortal)
 
static std::string get_mesh_active_uvlayer_name (const Object *ob)
 
template<typename USDT >
bool set_vec_attrib (const pxr::UsdPrim &prim, const IDProperty *prop, const pxr::TfToken &prop_token, const pxr::SdfValueTypeName &type_name, const pxr::UsdTimeCode &timecode)
 
static void blender::io::usd::create_vector_attrib (const pxr::UsdPrim &prim, const IDProperty *prop, const pxr::TfToken &prop_token, const pxr::UsdTimeCode &timecode)
 

Variables

static CLG_LogRef LOG = {"io.usd"}
 

Function Documentation

◆ get_mesh_active_uvlayer_name()

static std::string get_mesh_active_uvlayer_name ( const Object * ob)
static

◆ set_vec_attrib()

template<typename USDT >
bool set_vec_attrib ( const pxr::UsdPrim & prim,
const IDProperty * prop,
const pxr::TfToken & prop_token,
const pxr::SdfValueTypeName & type_name,
const pxr::UsdTimeCode & timecode )

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.usd"}
static

Definition at line 20 of file usd_writer_abstract.cc.

Referenced by set_vec_attrib().