Blender V5.0
blender::io::usd::USDExporterContext Struct Reference

#include <usd_exporter_context.hh>

Public Attributes

Mainbmain
Depsgraph * depsgraph
const pxr::UsdStageRefPtr stage
const pxr::SdfPath usd_path
std::function< pxr::UsdTimeCode()> get_time_code
const USDExportParamsexport_params
std::string export_file_path
std::function< std::string(Main *, Scene *, Image *, ImageUser *)> export_image_fn
std::function< void(const Object *, const pxr::SdfPath &)> add_skel_mapping_fn

Detailed Description

Definition at line 23 of file usd_exporter_context.hh.

Member Data Documentation

◆ add_skel_mapping_fn

std::function<void(const Object *, const pxr::SdfPath &)> blender::io::usd::USDExporterContext::add_skel_mapping_fn

Optional callback for skel/shape-key path registration (used by USDPointInstancerWriter).

Definition at line 40 of file usd_exporter_context.hh.

◆ bmain

Main* blender::io::usd::USDExporterContext::bmain

Definition at line 24 of file usd_exporter_context.hh.

◆ depsgraph

Depsgraph* blender::io::usd::USDExporterContext::depsgraph

Definition at line 25 of file usd_exporter_context.hh.

◆ export_file_path

std::string blender::io::usd::USDExporterContext::export_file_path

Definition at line 36 of file usd_exporter_context.hh.

◆ export_image_fn

std::function<std::string(Main *, Scene *, Image *, ImageUser *)> blender::io::usd::USDExporterContext::export_image_fn

Definition at line 37 of file usd_exporter_context.hh.

◆ export_params

◆ get_time_code

std::function<pxr::UsdTimeCode()> blender::io::usd::USDExporterContext::get_time_code

Wrap a function which returns the current time code for export. This is necessary since the context may be used for exporting an animation over a sequence of frames.

Definition at line 34 of file usd_exporter_context.hh.

◆ stage

◆ usd_path

const pxr::SdfPath blender::io::usd::USDExporterContext::usd_path

The documentation for this struct was generated from the following file: