je dois montrer la texture de l'image à la forme arrondie, mon code comme suivreà clipser la texture en forme arrondie
texture = Texture.FromBitmap(device,myBitmap, Usage.RenderTarget, Pool.Default);
_sprite.Begin (SpriteFlags.SortTexture | SpriteFlags.DoNotModifyRenderState); _sprite.Draw (_allocator.Texture, Vector3.Empty, nouveau Vector3 (_objectLocation.X, _objectLocation.Y, 0), RenderingColor); _sprite.End();
Mais il montre toujours la texture rectangle, comment couper cette texture en arrondi.