Skip to content

PerformanceModule #300

Closed
Closed
@sasha240100

Description

@sasha240100

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions