Files
Seele/src/Engine/Graphics/MeshData.h
T

15 lines
316 B
C++
Raw Normal View History

2024-06-09 10:44:24 +02:00
#pragma once
#include "Math/AABB.h"
2024-06-09 12:20:04 +02:00
namespace Seele {
struct MeshData {
2024-06-09 10:44:24 +02:00
AABB bounding;
uint32 numMeshlets = 0;
uint32 meshletOffset = 0;
uint32 firstIndex = 0;
uint32 numIndices = 0;
};
2024-06-09 12:20:04 +02:00
struct InstanceData {
2024-06-09 10:44:24 +02:00
Matrix4 transformMatrix;
Matrix4 inverseTransformMatrix;
};
2024-06-09 12:20:04 +02:00
} // namespace Seele