Exemplo n.º 1
0
        public static void Unload()
        {
            GridRenderer?.Dispose();
            CapRenderer?.Dispose();
            InnerPixelRenderer?.Dispose();

            GridRenderer       = null;
            CapRenderer        = null;
            InnerPixelRenderer = null;

            RTManager.ResolutionChanged -= ResolutionChanged;
            RTManager.Unload();
        }
Exemplo n.º 2
0
 private static void ResolutionChanged(int w, int h, int rtW, int rtH) => GridRenderer.SetGridSize(w, h, rtW, rtH);