This commit is contained in:
mcrcortex
2024-09-30 13:18:33 +10:00
parent 640da6c1be
commit 182e66daff
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
package me.cortex.voxy.client.core.rendering.hierachical2;
public class NodeCleaner {
}

View File

@@ -368,6 +368,17 @@ public class NodeManager2 {
this.nodeData.setNodeRequest(nodeId, requestId); this.nodeData.setNodeRequest(nodeId, requestId);
} }
//==================================================================================================================
// Used by the cleaning system to ensure memory capacity in the geometry store
int markGeometryNull(int nodeId) {
return 0;
}
//Removes, clears and frees itself, all children, requests and everything recursively
void removeNodeAndChildrenRecursive(int nodeId) {
}
//================================================================================================================== //==================================================================================================================
public boolean writeChanges(GlBuffer nodeBuffer) { public boolean writeChanges(GlBuffer nodeBuffer) {
//TODO: use like compute based copy system or something //TODO: use like compute based copy system or something