Blender
V3.3
|
#include "usd.h"
#include "usd_common.h"
#include "usd_hierarchy_iterator.h"
#include <pxr/base/plug/registry.h>
#include <pxr/pxr.h>
#include <pxr/usd/usd/stage.h>
#include <pxr/usd/usdGeom/tokens.h>
#include "MEM_guardedalloc.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "DEG_depsgraph_query.h"
#include "DNA_scene_types.h"
#include "BKE_appdir.h"
#include "BKE_blender_version.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_scene.h"
#include "BLI_fileops.h"
#include "BLI_path_util.h"
#include "BLI_string.h"
#include "BLI_timeit.hh"
#include "WM_api.h"
#include "WM_types.h"
Go to the source code of this file.
Classes | |
struct | blender::io::usd::ExportJobData |
Namespaces | |
blender | |
blender::io | |
blender::io::usd | |
Functions | |
static void | blender::io::usd::report_job_duration (const ExportJobData *data) |
static void | blender::io::usd::export_startjob (void *customdata, short *stop, short *do_update, float *progress) |
static void | blender::io::usd::export_endjob (void *customdata) |
bool | USD_export (bContext *C, const char *filepath, const USDExportParams *params, bool as_background_job) |
int | USD_get_version () |
bool USD_export | ( | bContext * | C, |
const char * | filepath, | ||
const USDExportParams * | params, | ||
bool | as_background_job | ||
) |
Definition at line 171 of file usd_capi_export.cc.
References BLI_strncpy(), blender::io::usd::ExportJobData::bmain, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), CTX_wm_window(), DEG_graph_build_for_all_objects(), DEG_graph_build_from_view_layer(), DEG_graph_new(), blender::io::usd::ExportJobData::depsgraph, blender::io::usd::ensure_usd_plugin_path_registered(), blender::io::usd::export_endjob(), blender::io::usd::ExportJobData::export_ok, blender::io::usd::export_startjob(), blender::io::usd::ExportJobData::filepath, MEM_freeN, MEM_mallocN, NC_SCENE, ND_FRAME, params, blender::io::usd::ExportJobData::params, scene, USDExportParams::visible_objects_only, blender::io::usd::ExportJobData::wm, WM_JOB_PROGRESS, WM_JOB_TYPE_ALEMBIC, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), and WM_jobs_timer().
int USD_get_version | ( | void | ) |
Definition at line 234 of file usd_capi_export.cc.
Referenced by make_usd_info().