Esempio n. 1
0
        /// <summary>
        /// Finish a drawing frame and render everything in queues.
        /// </summary>
        public static void EndDrawFrame()
        {
            // draw rendering queues
            RenderingQueues.DrawQueues();

            // notify nodes manager that a frame ended
            NodesManager.EndFrame();

            // clear the last material applied
            Materials.MaterialAPI._lastMaterialApplied = null;
        }
Esempio n. 2
0
        /// <summary>
        /// Finish a drawing frame and render everything in queues.
        /// </summary>
        public static void EndDrawFrame()
        {
            // draw rendering queues
            RenderingQueues.DrawQueues();

            // notify nodes manager that a frame ended
            NodesManager.EndFrame();

            // start frame for deferred lighting manager
            if (IsDeferredLightingEnabled)
            {
                _DeferredLighting.FrameEnd();
            }

            // clear the last material applied
            Materials.MaterialAPI._lastMaterialApplied = null;
        }