
![]()
Texture texture; // Texture Image
string ImgFile = "c:\\data\\test\\girl.bmp";
texture = TextureLoader.FromFile(device, ImgFile, width, height, 0,
Usage.None, Format.A8R8G8B8, Pool.Managed, Filter.None, Filter.None, unchecked((int)0xFF000000));
|
sprite.Begin(SpriteFlags.AlphaBlend);
sprite.Draw(texture, Vector3.Empty, Vector3.Empty, unchecked((int)(0xFFFFFFFF)));
sprite.End();
|
![]()
![]()