View Full Version : needsRendering() not called?

2004-05-07, 10:12 PM

I'm trying to get some basic animation working with the Jukebox. *Currently I've found these problems:

- needsRendering() is never called.. ?
- Render() with requiresMoreRendering = true is called too often. *Below is my current escape clause, but even this is too much processing; the system grinds to a halt with the CPU pegged.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
public Image render&#40;out bool requiresMoreRendering&#41;
* *requiresMoreRendering = false;
* *if &#40; nextRefresh.Ticks &#62; DateTime.Now.Ticks &#41;
* *{
* * * return null;
* *}
* *...


2004-05-07, 10:57 PM
needsRendering() was initially implemented for my internal plugins, and in the current release you&#39;re running its not called for external plugins. In the next release it is available for external plugins to use.