Esempio n. 1
0
 public void Reset()
 {
     Transform.Clear();
     ExternalMaterialFlags = MaterialFlags.None;
     VisibilityFrustum     = null;
     AcceptAllGrantor      = null;
     TranslucencyGrantor   = null;
     mRenderEntries.Clear();
 }
Esempio n. 2
0
 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;
 }