|
Blender V5.3
|
Inherits blender::BlendfileLoadingBaseTest.
Public Member Functions | |
| bool | load_file_and_depsgraph (const StringRefNull &filepath, const eEvaluationMode eval_mode=DAG_EVAL_VIEWPORT) |
| void | SetUp () override |
| void | TearDown () override |
| pxr::UsdPrim | get_first_child_mesh (const pxr::UsdPrim prim) |
| void | compare_blender_node_to_usd_prim (const bNode *bsdf_node, const pxr::UsdPrim &bsdf_prim) |
| void | compare_blender_image_to_usd_image_shader (const bNode *image_node, const pxr::UsdPrim &image_prim) |
| void | compare_blender_mesh_to_usd_prim (const Mesh *mesh, const pxr::UsdGeomMesh &mesh_prim) |
Protected Attributes | |
| bContext * | context = nullptr |
| Protected Attributes inherited from blender::BlendfileLoadingBaseTest | |
| struct BlendFileData * | bfile = nullptr |
| struct Depsgraph * | depsgraph = nullptr |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::BlendfileLoadingBaseTest | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| Protected Member Functions inherited from blender::BlendfileLoadingBaseTest | |
| void | TearDown () override |
| bool | blendfile_load (const char *filepath) |
| void | blendfile_free () |
| virtual void | depsgraph_create (eEvaluationMode depsgraph_evaluation_mode) |
| virtual void | depsgraph_free () |
Definition at line 51 of file usd_export_test.cc.
|
inline |
Definition at line 153 of file usd_export_test.cc.
References blender::BLI_path_cmp_normalized(), blender::EXPECT_EQ(), EXPECT_TRUE, and blender::bNode::id.
|
inline |
Definition at line 179 of file usd_export_test.cc.
References blender::bke::Corner, blender::EXPECT_EQ(), blender::bke::Face, and blender::bke::Point.
|
inline |
Loop the sockets on the Blender bNode, and fail if any of their values do not match the equivalent Attribute values on the UsdPrim.
Definition at line 101 of file usd_export_test.cc.
References blender::SOCK_FLOAT, blender::SOCK_RGBA, blender::SOCK_VECTOR, and blender::io::usd::token_for_input().
|
inline |
Definition at line 87 of file usd_export_test.cc.
|
inline |
Definition at line 56 of file usd_export_test.cc.
References blender::BlendfileLoadingBaseTest::bfile, blender::BlendfileLoadingBaseTest::blendfile_load(), blender::StringRefNull::c_str(), context, blender::CTX_create(), blender::CTX_data_main_set(), blender::CTX_data_scene_set(), blender::BlendFileData::curscene, blender::DAG_EVAL_VIEWPORT, blender::BlendfileLoadingBaseTest::depsgraph_create(), and blender::BlendFileData::main.
|
inlineoverride |
Definition at line 71 of file usd_export_test.cc.
|
inlineoverride |
Definition at line 76 of file usd_export_test.cc.
References blender::BLI_delete(), blender::BLI_exists(), blender::StringRefNull::c_str(), context, blender::CTX_free(), blender::io::usd::output_filename, and blender::BlendfileLoadingBaseTest::TearDown().
Definition at line 53 of file usd_export_test.cc.
Referenced by load_file_and_depsgraph(), and TearDown().