forked from Dynamitos/Seele
VertexData refactor
This commit is contained in:
1 parent
d0899355c5
commit
47360714a5
10 files changed
+76
-63
No files matched your search
@@ -1,14 +1,16 @@
|
||||
#pragma once
|
||||
#include "Math/AABB.h"
|
||||
namespace Seele {
|
||||
|
||||
struct PoolRange {
|
||||
uint32 offset;
|
||||
uint32 size;
|
||||
};
|
||||
struct MeshData {
|
||||
AABB bounding;
|
||||
uint32 numMeshlets = 0;
|
||||
uint32 meshletOffset = 0;
|
||||
PoolRange meshletRange;
|
||||
// offset into the global index buffer
|
||||
uint32 firstIndex = 0;
|
||||
// number of indices in the global index buffer
|
||||
uint32 numIndices = 0;
|
||||
PoolRange indicesRange;
|
||||
};
|
||||
struct InstanceData {
|
||||
Matrix4 transformMatrix;
|
||||
|
||||
Reference in new issue
Block a user