Unify GSplat debug rendering into a single enum-based API#8598
Merged
mvaligursky merged 1 commit intomainfrom Apr 14, 2026
Merged
Unify GSplat debug rendering into a single enum-based API#8598mvaligursky merged 1 commit intomainfrom
mvaligursky merged 1 commit intomainfrom
Conversation
Replace separate `colorizeLod` and `colorizeColorUpdate` boolean properties with a single `debug` property accepting GSPLAT_DEBUG_* constants, ensuring only one debug mode is active at a time. Old properties remain as deprecated shims. Update examples to use a dropdown selector.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the separate
colorizeLod(boolean) andcolorizeColorUpdate(boolean) properties onGSplatParamswith a singledebugproperty that accepts numeric constants, ensuring only one debug mode is active at a time.Changes:
GSPLAT_DEBUG_NONE,GSPLAT_DEBUG_LOD, andGSPLAT_DEBUG_SH_UPDATEconstantsGSplatParams#debugproperty (numeric enum) replacing two boolean flagsGSplatParams#colorizeLodandGSplatParams#colorizeColorUpdatewith shims that forward todebugAPI Changes:
GSplatParams#debug— set toGSPLAT_DEBUG_NONE(default),GSPLAT_DEBUG_LOD, orGSPLAT_DEBUG_SH_UPDATEGSplatParams#colorizeLod— usedebug = GSPLAT_DEBUG_LODinsteadGSplatParams#colorizeColorUpdate— usedebug = GSPLAT_DEBUG_SH_UPDATEinsteadExamples:
lod-streaming,lod-streaming-sh, andworldexamples with a Debug dropdown