public void Reset() { Transform.Clear(); ExternalMaterialFlags = MaterialFlags.None; VisibilityFrustum = null; AcceptAllGrantor = null; TranslucencyGrantor = null; mRenderEntries.Clear(); }
public TraversalContext() { Transform = new MatrixStack(); ExternalMaterialFlags = MaterialFlags.None; VisibilityFrustum = null; AcceptAllGrantor = null; TranslucencyGrantor = null; mRenderEntries = new List <RenderEntry>(); mEntryComparer = new RenderEntryComparer(); SharedResources.Game.GraphicsDevice.DeviceResetting += GraphicsDeviceResettingHandler; SharedResources.Game.GraphicsDevice.DeviceReset += GraphicsDeviceResetHandler; }