Spine.XnaTextureLoader.Load C# (CSharp) Method

Load() public method

public Load ( AtlasPage page, String path ) : void
page AtlasPage
path String
return void
		public void Load (AtlasPage page, String path) {
			Texture2D texture = Util.LoadTexture(device, path);
			page.rendererObject = texture;
			page.width = texture.Width;
			page.height = texture.Height;
		}