MeshWriter that can save both in .usd and .obj formats
This commit is contained in:
20
openVulkanoCpp/Scene/MeshWriter.hpp
Normal file
20
openVulkanoCpp/Scene/MeshWriter.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace OpenVulkano::Scene
|
||||
{
|
||||
class Geometry;
|
||||
class MeshWriter
|
||||
{
|
||||
public:
|
||||
static void WriteAsOBJ(Geometry *geometry, const std::string &filePath);
|
||||
static void WriteAsUSD(Geometry *geometry, const std::string &filePath);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user