Blender V4.3
usd_capi_export.cc File Reference
#include <iostream>
#include "IO_subdiv_disabler.hh"
#include "usd.hh"
#include "usd_hierarchy_iterator.hh"
#include "usd_hook.hh"
#include "usd_light_convert.hh"
#include "usd_private.hh"
#include <pxr/base/tf/token.h>
#include <pxr/pxr.h>
#include <pxr/usd/sdf/assetPath.h>
#include <pxr/usd/usd/primRange.h>
#include <pxr/usd/usd/stage.h>
#include <pxr/usd/usdGeom/tokens.h>
#include <pxr/usd/usdGeom/xform.h>
#include <pxr/usd/usdGeom/xformCommonAPI.h>
#include <pxr/usd/usdUtils/usdzPackage.h>
#include "MEM_guardedalloc.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DEG_depsgraph_query.hh"
#include "DNA_collection_types.h"
#include "DNA_scene_types.h"
#include "BKE_appdir.hh"
#include "BKE_blender_version.h"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_image.hh"
#include "BKE_image_save.hh"
#include "BKE_lib_id.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BLI_fileops.h"
#include "BLI_math_matrix.h"
#include "BLI_math_rotation.h"
#include "BLI_math_vector.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_timeit.hh"
#include <IMB_imbuf.hh>
#include <IMB_imbuf_types.hh>
#include "WM_api.hh"
#include "WM_types.hh"
#include "CLG_log.h"

Go to the source code of this file.

Classes

struct  blender::io::usd::ExportJobData
 

Namespaces

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

Functions

static bool blender::io::usd::prim_path_valid (const char *path)
 
static bool blender::io::usd::export_params_valid (const USDExportParams &params)
 
static void blender::io::usd::ensure_root_prim (pxr::UsdStageRefPtr stage, const USDExportParams &params)
 
static void blender::io::usd::report_job_duration (const ExportJobData *data)
 
static void blender::io::usd::process_usdz_textures (const ExportJobData *data, const char *path)
 
static bool blender::io::usd::perform_usdz_conversion (const ExportJobData *data)
 
std::string blender::io::usd::image_cache_file_path ()
 
std::string blender::io::usd::get_image_cache_file (const std::string &file_name, bool mkdir)
 
std::string blender::io::usd::cache_image_color (const float color[4])
 
pxr::UsdStageRefPtr blender::io::usd::export_to_stage (const USDExportParams &params, Depsgraph *depsgraph, const char *filepath)
 
static void blender::io::usd::export_startjob (void *customdata, wmJobWorkerStatus *worker_status)
 
static void blender::io::usd::export_endjob_usdz_cleanup (const ExportJobData *data)
 
static void blender::io::usd::export_endjob (void *customdata)
 
static void blender::io::usd::create_temp_path_for_usdz_export (const char *filepath, blender::io::usd::ExportJobData *job)
 
static void blender::io::usd::set_job_filepath (blender::io::usd::ExportJobData *job, const char *filepath)
 
bool blender::io::usd::USD_export (const bContext *C, const char *filepath, const USDExportParams *params, bool as_background_job, ReportList *reports)
 
int blender::io::usd::USD_get_version ()
 

Variables

static CLG_LogRef LOG = {"io.usd"}
 

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.usd"}
static

Definition at line 58 of file usd_capi_export.cc.