/// <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 { [email protected] = 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(); }
public void ModelResourceGroup() { var rm = this.container.Resolve <IwResManager>(); CIwResGroup group = rm.LoadGroup("TestData\\model.group.bin", false); // rm.DestroyGroup(group); }
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); }
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); }