Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/usd/intern/usd_writer_abstract.h
| Show All 13 Lines | |||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * The Original Code is Copyright (C) 2019 Blender Foundation. | * The Original Code is Copyright (C) 2019 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| #ifndef __USD_WRITER_ABSTRACT_H__ | #ifndef __USD_WRITER_ABSTRACT_H__ | ||||
| #define __USD_WRITER_ABSTRACT_H__ | #define __USD_WRITER_ABSTRACT_H__ | ||||
| #include "abstract_hierarchy_iterator.h" | #include "IO_abstract_hierarchy_iterator.h" | ||||
| #include "usd_exporter_context.h" | #include "usd_exporter_context.h" | ||||
| #include <pxr/usd/sdf/path.h> | #include <pxr/usd/sdf/path.h> | ||||
| #include <pxr/usd/usd/stage.h> | #include <pxr/usd/usd/stage.h> | ||||
| #include <pxr/usd/usdShade/material.h> | #include <pxr/usd/usdShade/material.h> | ||||
| #include <pxr/usd/usdUtils/sparseValueWriter.h> | #include <pxr/usd/usdUtils/sparseValueWriter.h> | ||||
| #include <vector> | #include <vector> | ||||
| extern "C" { | extern "C" { | ||||
| #include "DEG_depsgraph_query.h" | #include "DEG_depsgraph_query.h" | ||||
| #include "DNA_material_types.h" | #include "DNA_material_types.h" | ||||
| } | } | ||||
| struct Material; | struct Material; | ||||
| struct Object; | struct Object; | ||||
| namespace USD { | namespace USD { | ||||
| using blender::io::AbstractHierarchyWriter; | |||||
| using blender::io::HierarchyContext; | |||||
| class USDAbstractWriter : public AbstractHierarchyWriter { | class USDAbstractWriter : public AbstractHierarchyWriter { | ||||
| protected: | protected: | ||||
| const USDExporterContext usd_export_context_; | const USDExporterContext usd_export_context_; | ||||
| pxr::UsdUtilsSparseValueWriter usd_value_writer_; | pxr::UsdUtilsSparseValueWriter usd_value_writer_; | ||||
| bool frame_has_been_written_; | bool frame_has_been_written_; | ||||
| bool is_animated_; | bool is_animated_; | ||||
| Show All 27 Lines | |||||