You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are those anti-readers whom will not read the documentation but rather copy+paste example code in an effort to construct their games.
The downside to this is that they often end up creating several hundred shader/texture objects which is incredibly slow.
If the gfxutil.OpenShader and gfxutil.OpenTexture utility functions used a cache and returned the same shader/texture object in the event that the user specifies the same path, we could aid this specific case.
The text was updated successfully, but these errors were encountered:
slimsag
changed the title
gfxutil: cache opened Shaders/Textures to prevent anti-readers.
gfxutil: cache opened Shaders/Textures to aide anti-readers.
Dec 21, 2014
There are those anti-readers whom will not read the documentation but rather copy+paste example code in an effort to construct their games.
The downside to this is that they often end up creating several hundred shader/texture objects which is incredibly slow.
If the
gfxutil.OpenShader
andgfxutil.OpenTexture
utility functions used a cache and returned the same shader/texture object in the event that the user specifies the same path, we could aid this specific case.The text was updated successfully, but these errors were encountered: