NAP
nap
system_modules
naprender
src
fbxconverter.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
#include <string>
8
#include <memory>
9
#include <vector>
10
#include <utility/dllexport.h>
11
12
namespace
nap
13
{
14
class
RenderService;
15
class
MeshInstance;
16
17
namespace
utility
18
{
19
class
ErrorState;
20
}
21
25
enum class
EFBXConversionOptions
26
{
27
CONVERT_ALWAYS
,
28
CONVERT_IF_NEWER
29
};
30
44
NAPAPI
bool
convertFBX
(
const
std::string& fbxPath,
const
std::string& outputDirectory,
EFBXConversionOptions
convertOptions,
bool
convertCompute,
bool
noTangents, std::vector<std::string>& convertedFiles, utility::ErrorState& errorState);
45
55
NAPAPI std::unique_ptr<MeshInstance>
loadMesh
(RenderService& renderService,
const
std::string& meshPath, utility::ErrorState& errorState);
56
}
nap::loadMesh
NAPAPI std::unique_ptr< MeshInstance > loadMesh(RenderService &renderService, const std::string &meshPath, utility::ErrorState &errorState)
nap::EFBXConversionOptions
EFBXConversionOptions
Definition:
fbxconverter.h:25
nap::EFBXConversionOptions::CONVERT_ALWAYS
@ CONVERT_ALWAYS
Always convert FBX.
nap::EFBXConversionOptions::CONVERT_IF_NEWER
@ CONVERT_IF_NEWER
Only convert FBX if the destination does not exist or is older.
nap::convertFBX
NAPAPI bool convertFBX(const std::string &fbxPath, const std::string &outputDirectory, EFBXConversionOptions convertOptions, bool convertCompute, bool noTangents, std::vector< std::string > &convertedFiles, utility::ErrorState &errorState)
nap
Definition:
templateapp.h:17
Generated by doxygen