deck.gl
deck.gl copied to clipboard
feat: clear color per view
Closes #8838
Enhances the clear properties for managing viewport buffers across multiple views. Adding new properties (clearColor, clearDepth, and clearStencil) to control buffer clearing behavior. The value used to clear stencil and depth buffers can now be customized.
Change List
View#clearis now a simple boolean flag. Removed the object interface. Customize buffer settings with the new props instead.- Adds
View#clearColor: number[] | false - Adds
View#clearDepth: number | false - Adds
View#clearStencil: number | false
coverage: 91.695% (+0.02%) from 91.679% when pulling 78449b3c246eab5effee131387bef7c7149a2fc3 on chr/clear-color-per-view into a1f5321e78e2fb185062659e66e5fe6a77697372 on master.
@felixpalmer @ibgreen @Pessimistress I've updated this PR to implement option 1 from #9650, verbatim. I'd like to get your eyes on it.. hoping this can go into 9.2