-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove updateModuleSettings from codebase #9160
Conversation
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.
Very timely, as luma.gl 9.2 removes updateModuleSettings
. If possible and haven't done so, search the code base and make sure that all references are removed (I think there were only 3 or so).
@@ -1107,6 +1109,12 @@ export default abstract class Layer<PropsT extends {} = {}> extends Component< | |||
lightSources | |||
} = moduleParameters; | |||
|
|||
const maskProps = { |
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.
Type the props?
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.
The type is in deck.gl/extensions
and it is an open question whether this is the correct place to update the ShaderInputs
as in many cases the referenced ShaderModules
will not be present. Agree that we should type, will revisit when cleaning up, e.g. moving the shaderInputs.setProps
into the extensions
For #8997
To merge
fp64
module in luma needs to be ported to UBO, for now a manual hack is included hereChange List
updateModuleSettings
fromHeatmapLayer
updateModuleSettings
fromLayer
maskProps
viaShaderInputs