Closed
Description
A concept of PerformanceModule
:
Used in The last dinosaur
const app = new WHS.App([
// ...
new WHS.RenderingModule(),
new PerformanceModule({
dof: 50 // minimum fps.
})
]);
const perf = app.use('performance');
perf.on('dof', enabled => {
dofPass.enabled = enabled;
});
- Turns off
pass
if lower than it's described minimum. - Support for multiple settings.
- Only disables one-by-one
Version:
- v2.x.x
- v1.x.x
Issue type:
- Bug
- Proposal/Enhancement
- Question
- Discussion
Tested on:
Desktop
- Chrome
- Chrome Canary
- Chrome dev-channel
- Firefox
- Opera
- Microsoft IE
- Microsoft Edge
Android
- Chrome
- Firefox
- Opera
IOS
- Chrome
- Firefox
- Opera