Exemple #1
0
        /// <summary>
        /// The on load.
        /// </summary>
        /// <param name="e">
        /// The e.
        /// </param>
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            this.isLoaded       = true;
            this.timer.Interval = 1000 / 30;
            this.timer.Tick    += (s, a) => { this.glControl.Invalidate(); };

            try
            {
                this.@group =
                    this.resManager.LoadGroup(
                        @"Z:\MyWork\toe.git\net4\src\Toe.Marmalade.Tests\TestData\data-sw\scalablepipeline\bike.group.bin", false);

                // @group = this.resManager.LoadGroup(@"Z:\MyWork\toe.git\net4\src\Toe.Marmalade.Tests\TestData\data-gles1\scalablepipeline\bike.group.bin", false);
            }
            catch (Exception ex)
            {
                Debug.Write(ex.ToString());
                throw;
            }

            this.ApplyScreenMode();
            this.timer.Start();
        }
Exemple #2
0
        public void ModelResourceGroup()
        {
            var         rm    = this.container.Resolve <IwResManager>();
            CIwResGroup group = rm.LoadGroup("TestData\\model.group.bin", false);

            // rm.DestroyGroup(group);
        }
Exemple #3
0
        public void BikeSwResourceGroup()
        {
            var rm = this.container.Resolve <IwResManager>();

            rm.AddDataPath(@"TestData\data-sw");
            CIwResGroup group = rm.LoadGroup(@"TestData\data-sw\iwgraphicsscalablepipeline.group.bin", false);

            // rm.DestroyGroup(group);
        }
Exemple #4
0
        public void AnimSwResourceGroup()
        {
            var rm = this.container.Resolve <IwResManager>();

            rm.AddDataPath(@"TestData\data-sw");
            CIwResGroup group = rm.LoadGroup(@"TestData\data-sw\iwanimskeleton.group.bin", false);

            // rm.DestroyGroup(group);
        }