17 lines
411 B
C++
17 lines
411 B
C++
#pragma once
|
|
#include "Math/AABB.h"
|
|
namespace Seele {
|
|
struct MeshData {
|
|
AABB bounding;
|
|
uint32 numMeshlets = 0;
|
|
uint32 meshletOffset = 0;
|
|
// offset into the global index buffer
|
|
uint32 firstIndex = 0;
|
|
// number of indices in the global index buffer
|
|
uint32 numIndices = 0;
|
|
};
|
|
struct InstanceData {
|
|
Matrix4 transformMatrix;
|
|
Matrix4 inverseTransformMatrix;
|
|
};
|
|
} // namespace Seele
|