Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::MeshPrimitive::MeshletBoundsHelper Struct Reference

Public Member Functions

 MeshletBoundsHelper (glm::vec3 init)
void enlarge (glm::vec3 point)
MeshletBounds getBounds (const std::vector< meshopt_Meshlet > &meshlets, const std::vector< Vertex > &vertices, const std::vector< uint32_t > &meshletVertices) const

Public Attributes

glm::vec3 minX
glm::vec3 maxX
glm::vec3 minY
glm::vec3 maxY
glm::vec3 minZ
glm::vec3 maxZ

Detailed Description

Definition at line 63 of file MeshPrimitive.h.

Constructor & Destructor Documentation

◆ MeshletBoundsHelper()

EngineCore::MeshPrimitive::MeshletBoundsHelper::MeshletBoundsHelper ( glm::vec3 init)
inline

Definition at line 64 of file MeshPrimitive.h.

References maxX, maxY, maxZ, minX, minY, and minZ.

Member Function Documentation

◆ enlarge()

void EngineCore::MeshPrimitive::MeshletBoundsHelper::enlarge ( glm::vec3 point)

Definition at line 355 of file MeshPrimitive.cpp.

References maxX, maxY, maxZ, minX, minY, and minZ.

◆ getBounds()

MeshletBounds EngineCore::MeshPrimitive::MeshletBoundsHelper::getBounds ( const std::vector< meshopt_Meshlet > & meshlets,
const std::vector< Vertex > & vertices,
const std::vector< uint32_t > & meshletVertices ) const

Member Data Documentation

◆ maxX

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::maxX

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().

◆ maxY

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::maxY

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().

◆ maxZ

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::maxZ

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().

◆ minX

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::minX

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().

◆ minY

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::minY

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().

◆ minZ

glm::vec3 EngineCore::MeshPrimitive::MeshletBoundsHelper::minZ

Definition at line 67 of file MeshPrimitive.h.

Referenced by enlarge(), getBounds(), and MeshletBoundsHelper().


The documentation for this struct was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Mesh/MeshPrimitive.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Mesh/MeshPrimitive.cpp