Exemplo n.º 1
0
 public StartupPropertiesCache(IApplication application)
 {
     User     = application?.Configure();
     Internal = new InternalStartUpProperties
     {
         DefaultFpsTrackerUpdatePeriodInSeconds       = 1.0f,
         DrawQueueInitialSizeNumberOfRequests         = 1024,
         DrawQueueInitialSizeElementsPerRequestScalar = 4,
         DrawStageInitialSizeVertexBuffer             = 4096,
         DrawStageInitialSizeIndexBuffer = 8192,
         DrawStageInitialMaxNumberOfLayersForDepthScaling = 10,
         DrawStageBatcherInitialNumberOfBatches           = 128,
         DrawRequestPoolMinSize   = 256,
         RenderCommandMinPoolSize = 64,
         DefaultWindowClearColourOnNoRenderCommandsQueued = RgbaFloat.Pink
     };
 }
Exemplo n.º 2
0
 public static void LoadConfiguration(String Path = null)
 {
     Application = new Application(ConfigurationClasses);
     Application.Configure(Path);
 }
Exemplo n.º 3
0
        /// <summary>
        /// Configures the application.
        /// </summary>
        private static void ConfigureApplication()
        {
            application = new global::Framework.Core.Application();
            application.Configure(Composer.Instance.WindsorContainer);

        }
 private void ConfigureApplication()
 {
     application = new Application();
     application.Configure(container);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Configures the application.
 /// </summary>
 private static void ConfigureApplication()
 {
     application = new global::Framework.Core.Application();
     application.Configure(Composer.Instance.WindsorContainer);
 }