|
Berserk
|
Texture import options. More...
#include <ResMesh.hpp>


Public Member Functions | |
| BRK_API | ResMeshImportOptions ()=default |
| BRK_API | ~ResMeshImportOptions () override=default |
Public Member Functions inherited from ResourceImportOptions | |
| BRK_API | ~ResourceImportOptions () override=default |
Public Member Functions inherited from RefCnt | |
| virtual | ~RefCnt () |
| bool | IsUnique () const |
| std::int32_t | GetRefs () const |
| std::int32_t | AddRef () const |
| std::int32_t | RelRef () const |
Public Attributes | |
| MeshFormat | meshFormat = {MeshAttribute::Position, MeshAttribute::Normal, MeshAttribute::Tangent, MeshAttribute::UV} |
| bool | flipUVs = true |
| bool | triangulate = true |
| bool | indexed = true |
Additional Inherited Members | |
Protected Member Functions inherited from RefCnt | |
| virtual void | Destroy () const |
Texture import options.
|
default |
|
overridedefault |
| bool ResMeshImportOptions::flipUVs = true |
Format of the data to import and preserve
| bool ResMeshImportOptions::indexed = true |
Triangulate so primitives type is triangles
| MeshFormat ResMeshImportOptions::meshFormat = {MeshAttribute::Position, MeshAttribute::Normal, MeshAttribute::Tangent, MeshAttribute::UV} |
| bool ResMeshImportOptions::triangulate = true |
Flip uv coords on loading