|
Blender V4.3
|
#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"} |
|
static |
Definition at line 34 of file usd_writer_abstract.cc.
References CD_PROP_FLOAT2, CustomData_get_active_layer_name(), Object::data, OB_MESH, and Object::type.
Referenced by blender::io::usd::USDAbstractWriter::ensure_usd_material().
| 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 ) |
Definition at line 48 of file usd_writer_abstract.cc.
References CLOG_WARN, IDProperty::data, LOG, and IDPropertyData::pointer.
Referenced by blender::io::usd::create_vector_attrib().
|
static |
Definition at line 20 of file usd_writer_abstract.cc.
Referenced by set_vec_attrib().