Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Core::PackedVertex Struct Reference

Compact vertex format used by mesh packing code. More...

#include <AssetManager.h>

Public Attributes

glm::vec3 position
 Full-precision local-space position.
uint32_t packedNormal
 Normal packed as A2B10G10R10_SNORM.
uint32_t packedColor
 Vertex color packed as R8G8B8A8_UNORM.
uint32_t packedTexCoord
 Texture coordinate packed as R16G16_SFLOAT.

Detailed Description

Compact vertex format used by mesh packing code.

Definition at line 80 of file AssetManager.h.

Member Data Documentation

◆ packedColor

uint32_t Engine::Core::PackedVertex::packedColor

Vertex color packed as R8G8B8A8_UNORM.

Definition at line 84 of file AssetManager.h.

◆ packedNormal

uint32_t Engine::Core::PackedVertex::packedNormal

Normal packed as A2B10G10R10_SNORM.

Definition at line 83 of file AssetManager.h.

◆ packedTexCoord

uint32_t Engine::Core::PackedVertex::packedTexCoord

Texture coordinate packed as R16G16_SFLOAT.

Definition at line 85 of file AssetManager.h.

◆ position

glm::vec3 Engine::Core::PackedVertex::position

Full-precision local-space position.

Definition at line 82 of file AssetManager.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Mesh/AssetManager.h