Assembly: Microsoft.Xna.Framework.Graphics (in
microsoft.xna.framework.graphics.dll) In the XNA Framework, all
two-dimensional (2D) images are represented by a range of memory
called a surface. Within a surface, each element holds a color
value representing a small section of the image, called a pixel.
An image's detail level is defined by the number of pixels
needed to represent the image and the number of bits needed for
the image's color spectrum. For example, an image that is 800
pixels wide by 600 pixels high with 32 bits of color for each
pixel (written as 800 x 600 x 32) is more detailed than an image
that is 640 pixels wide by 480 pixels tall with 16 bits of color
for each pixel (written as 640 x 480 x 16). Likewise, the more
detailed image requires a larger surface to store the data. For
an 800 x 600 x 32 image, the surface's array dimensions are 800
x 600, and each element holds a 32-bit value to represent its
color. All formats are listed from left to right, most-
significant bit to least-significan