Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm migrating from XNA to SharpDX in Win8. I noticed this DrawBitmap call in one of the samples.

Is this different in some shape, way or form from XNA's SpriteBatch?

share|improve this question

Yes, they are absolutely different.

The SharpDX method you linked to is a wrapper around the native Direct2D DrawBitmap methods; SharpDX is primarily just an interoperability API that provides a wrapper around native functions (excluding it's "toolkit" APIs).

XNA's SpriteBatch is a high-level wrapper around Direct3D drawing primitives (vertex buffers, textures, shaders) that provides an easy way to draw sprites.

You can use both interfaces to draw 2D sprites on a screen. Used properly you can probably achieve performance parity. However, they are not interchangeable interfaces.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.