Blender V4.3
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
 

Detailed Description

Definition at line 22 of file usd_exporter_context.hh.

Member Data Documentation

◆ bmain

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

Definition at line 23 of file usd_exporter_context.hh.

Referenced by blender::io::usd::USDVolumeWriter::do_write().

◆ depsgraph

◆ export_file_path

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

◆ export_image_fn

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

Definition at line 36 of file usd_exporter_context.hh.

◆ export_params

const USDExportParams& blender::io::usd::USDExporterContext::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 33 of file usd_exporter_context.hh.

Referenced by blender::io::usd::USDAbstractWriter::get_export_time_code().

◆ stage

◆ usd_path


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