freenode/#shirakumo - IRC Chatlog
Search
20:04:57
gingerale
Could you explain what you are talking about there? What exactly is a rendering property in this context? What does it mean for it to be immediate? I feel I lack context for everything you said up there.
20:05:49
Shinmera
A rendering property is as I illustrated: the color, line thickness, font, text size, etc. Anything that modifies or further parameterises what the shape looks like.
20:06:27
Shinmera
A rendering command is immediate if, when executing the command, a rendering action is taken immediately (it is rendered to screen, for instance).
20:06:51
Shinmera
It is retained if you are instead given an object that you should cache. This object is then rendered separately at an opportune time.
20:07:32
Shinmera
Immediate rendering is far easier to control because you "just draw", but it has serious performance implications because there is no way to cache what you draw as it might change in unpredictable ways the next time the command is executed.
20:07:57
Shinmera
Retained rendering has much greater performance benefits, but requires managing state more explicitly.