forked from Dynamitos/Seele
Depth rendering of terrain works
This commit is contained in:
1 parent
effb0c6214
commit
c30619d07d
28 files changed
+298
-502
No files matched your search
@@ -39,6 +39,7 @@ public:
|
||||
MeshId id;
|
||||
InstanceData instance;
|
||||
Gfx::PIndexBuffer indexBuffer;
|
||||
uint32 meshes;
|
||||
};
|
||||
struct MaterialInstanceData
|
||||
{
|
||||
@@ -62,8 +63,8 @@ public:
|
||||
};
|
||||
void resetMeshData();
|
||||
void updateMesh(const Component::Transform& transform, PMesh mesh);
|
||||
void loadMesh(MeshId id, Array<Meshlet> meshlets);
|
||||
void createDescriptors();
|
||||
void loadMesh(MeshId id, Array<Meshlet> meshlets);
|
||||
MeshId allocateVertexData(uint64 numVertices);
|
||||
uint64 getMeshOffset(MeshId id);
|
||||
uint64 getMeshVertexCount(MeshId id);
|
||||
|
||||
Reference in new issue
Block a user