示例#1
0
        public static void Init(WindowParams?wp = null)
        {
            WorldManager.Init();
            RegisterEvents();

            WindowParams p;

            if (wp == null)
            {
                p = new WindowParams(true);
            }
            else
            {
                p = wp.Value;
            }

            ShaderBuilder.BuildShaders();

            Initialize(p);

            LoadShaderModules();
            LoadPipelines();

            PostShaderLoadInitialize();
        }
示例#2
0
 private static extern void Initialize(WindowParams param);