Base interface for classes that perform preparations for rendering using some graphics context.
interface
|
IRenderPreparable
|
base of
|
IRenderable
|
||
ObjectList
|
Prepares rendering.
method
|
RenderPrepare
()
|
Remarks:
This method is called before Render, when the graphics context has not yet begun to render the scene.
All setup work that does not require a graphics context (e.g. matrix computation, per-frame visibility determination) should be done here. This can help to maximize parallelism between the CPU and the GPU.