Example #1
0
void LayerTreeHostGtk::RenderFrameScheduler::renderFrame()
{
    m_fireTime = monotonicallyIncreasingTime();
    if (!m_renderer() || m_timer.isActive())
        return;
    nextFrame();
}
Example #2
0
	/*!
	* \brief Calls the renderer function
	*
	* \param group Particle group responsible of the particles
	* \param mapper Particle mapper, allowing constant access to the particle data
	* \param startId The first ID of the particle to update (inclusive)
	* \param endId The last ID of the particle to update (inclusive)
	* \param renderQueue The concerned render queue that will receive drawable informations
	*/
	void ParticleFunctionRenderer::Render(const ParticleGroup& group, const ParticleMapper& mapper, unsigned int startId, unsigned int endId, AbstractRenderQueue* renderQueue)
	{
		m_renderer(group, mapper, startId, endId, renderQueue);
	}