pex-context icon indicating copy to clipboard operation
pex-context copied to clipboard

Cache properties on state sub-object

Open vorg opened this issue 6 years ago • 0 comments

Right now we cache state properties on

  1. state pipeline.blend !== state.blend
  2. defaultState if (self.defaultState.viewport[2] !== gl.drawingBufferWidth
  3. state.pipeline if (pipeline.colorMask[0] !== state.pipeline.colorMask[0]

vorg avatar Apr 09 '18 12:04 vorg