STREGAsGate/GateEngine

Add Shader Cache

STREGA opened this issue · 0 comments

STREGA commented

Shaders are generated every launch. Speed up loading and reduce lag.

  • Generate IDs using a checksum
  • Async generate/compile shaders
    • WebGL2
    • OpenGL
    • Metal
    • DirectX 12
  • Cache generated shaders on platform FileSystem
    • WebGL2
    • OpenGL
    • Metal
    • DirectX 12