-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Types: luma.gl Parameters #9209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Type errors will occur when using non-WebGPU compatible parameters. Perhaps they work now but if so they will soon no longer work Docs at https://luma.gl/docs/api-reference/core/parameters Recommendations:
|
|
Regarding |
ibgreen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tightening this up!
Background
I noticed that that passing
depthTestinParametersraises a type error, despite working in the past:Even though luma is not including this on the
Parameterstype, it continues to work in practice.I've gone ahead and added some types to surface the inconsistencies, and found that the following keys are used by deck but untyped in luma:
depthRange(collision-filter-pass.ts)depthTest(terrain-pass.ts)@ibgreen should these types be added to luma or should deck be migrating to a new API?
Change List
Parameterstype where previously missingisDrawableLayerParameterstype helper