So I'm using the XNA framework and I'm trying to make sprites that have dynamic diversity. I want to make an image with 2 (or more colors) such as white and black. So if I drew a white circle with a black outline, the game could then recognize the two differences and make the inside of the circle one color and the outline a different color.
The only way I can seem to do this is if I do it by using the Texture2D.GetData<Color>() and setData<Color>(value) methods. But since I plan on doing this dynamically throughout the game, I feel this would be a horribly inefficient way to do it.
Does anyone know of a better way to do it?
by Soundless_Pr via /r/csharp