glue-gluevault-component-pages-rendertargetrenderer
Introduction
Performance Example
IsFixedTimeStep = false;
graphics.SynchronizeWithVerticalRetrace = false;void CustomInitialize()
{
// This was written in 2015 on a laptop
// Increase this if using more powerful
// computers to cause serious slowdown:
const int instances = 10000;
for(int i = 0; i < instances; i++)
{
var instance = new Entities.GraphicWithText();
Camera.Main.PositionRandomlyInView(instance, 40, 140);
// goign to bring in the Y a little so we can read debug output:
instance.Y *= .8f;
instance.Y -= 30;
instance.ConvertToManuallyUpdated();
}
}
void CustomActivity(bool firstTimeCalled)
{
FlatRedBall.Debugging.Debugger.Write(1 / TimeManager.SecondDifference);
}Further optimizations
ReRender
Integration with Glue
Last updated
Was this helpful?