|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <physicvbo.h>
Public Types | |
| using | Vertex = Resources::Vertex |
Public Member Functions | |
| PhysicVbo (PackedMesh &&packed) | |
| PhysicVbo (const std::vector< btVector3 > *v) | |
| PhysicVbo (const PhysicVbo &)=delete | |
| PhysicVbo (PhysicVbo &&)=delete | |
| void | addIndex (const std::vector< uint32_t > &index, size_t iboOff, size_t iboLen, zenkit::MaterialGroup material) |
| void | addIndex (const std::vector< uint32_t > &index, size_t iboOff, size_t iboLen, zenkit::MaterialGroup material, const char *sector) |
| zenkit::MaterialGroup | materialId (size_t segment) const |
| auto | sectorName (size_t segment) const -> const char * |
| bool | useQuantization () const |
| bool | isEmpty () const |
| void | adjustMesh () |
| std::string_view | validateSectorName (std::string_view name) const |
Definition at line 13 of file physicvbo.h.
| using PhysicVbo::Vertex = Resources::Vertex |
Definition at line 15 of file physicvbo.h.
| PhysicVbo::PhysicVbo | ( | PackedMesh && | packed | ) |
Definition at line 6 of file physicvbo.cpp.
| PhysicVbo::PhysicVbo | ( | const std::vector< btVector3 > * | v | ) |
Definition at line 26 of file physicvbo.cpp.
|
delete |
|
delete |
| void PhysicVbo::addIndex | ( | const std::vector< uint32_t > & | index, |
| size_t | iboOff, | ||
| size_t | iboLen, | ||
| zenkit::MaterialGroup | material | ||
| ) |
Definition at line 30 of file physicvbo.cpp.
| void PhysicVbo::addIndex | ( | const std::vector< uint32_t > & | index, |
| size_t | iboOff, | ||
| size_t | iboLen, | ||
| zenkit::MaterialGroup | material, | ||
| const char * | sector | ||
| ) |
Definition at line 34 of file physicvbo.cpp.
| void PhysicVbo::adjustMesh | ( | ) |
Definition at line 101 of file physicvbo.cpp.
| bool PhysicVbo::isEmpty | ( | ) | const |
Definition at line 97 of file physicvbo.cpp.
| zenkit::MaterialGroup PhysicVbo::materialId | ( | size_t | segment | ) | const |
Definition at line 74 of file physicvbo.cpp.
| const char * PhysicVbo::sectorName | ( | size_t | segment | ) | const -> const char* |
Definition at line 80 of file physicvbo.cpp.
| bool PhysicVbo::useQuantization | ( | ) | const |
Definition at line 86 of file physicvbo.cpp.
| std::string_view PhysicVbo::validateSectorName | ( | std::string_view | name | ) | const |
Definition at line 111 of file physicvbo.cpp.