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
In writing my own renderer it seems as though cached textures never get updated?
I am able to successfully cache a texture and the renderer does draw the cached texture, however, when a control changes, the cached texture never gets updated.
I assume this should happen through: void UpdateControlCacheTexture(CacheHandle control) { printf("Update"); }
However the function is never called.
Is there something specific that needs to be done to allow the updating to happen?
The text was updated successfully, but these errors were encountered:
It does need looking at. There is another issue open #27. It's only really necessary for the colour pickers. However, I have added a software renderer and a pixel buffer target, so this may be a better solution. This is a more efficient solution as well as the colour pickers draw a rectangle for each pixel!
In writing my own renderer it seems as though cached textures never get updated?
I am able to successfully cache a texture and the renderer does draw the cached texture, however, when a control changes, the cached texture never gets updated.
I assume this should happen through:
void UpdateControlCacheTexture(CacheHandle control) { printf("Update"); }
However the function is never called.
Is there something specific that needs to be done to allow the updating to happen?
The text was updated successfully, but these errors were encountered: