summaryrefslogtreecommitdiff
path: root/src/3d/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3d/renderer.h')
-rw-r--r--src/3d/renderer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3d/renderer.h b/src/3d/renderer.h
index 8f933b5..21192f3 100644
--- a/src/3d/renderer.h
+++ b/src/3d/renderer.h
@@ -125,6 +125,7 @@ class Renderer3D {
BVH cpu_bvh_; // Keep a CPU-side copy for building/uploading
bool bvh_enabled_ = true;
bool direct_render_ = false; // true = render to surface (no post-process flip)
+ bool bind_group_dirty_ = true; // Recreate bind group when textures change
std::map<AssetId, MeshGpuData> mesh_cache_;
const MeshGpuData* temp_mesh_override_ = nullptr; // HACK for test_mesh tool