• Advertisement
Sign in to follow this  

[.net] questions about managed directx

This topic is 3673 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What exactly is a surface? Is it a frame with sprites? I don't understand!

Share this post


Link to post
Share on other sites
Advertisement
so it's anything that contains image data...like a bitmap or background, anything.

Share this post


Link to post
Share on other sites
A surface is what was stated, just image data. As far as a background, etc, thats up to the programmer. You can use the surface as a background, sprite, tile, etc.

It performs no functions, just a placeholder/pointer to image(s).

You would have to use the Sprite class (recommended for 2D), DirectDraw, or Direct3D to apply the surface to your screen (backbuffer).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement