   loading a texture in DirectX
  I found a decent tutorial on loading a texture in DirectX using D3DXCreateTextureFromFile over here:http://www.drunkenhyena.com/cgi-bin/view_cpp_article.pl?chapter=2;article=30However, I can't figure out how to access the individual pixels of the texture.  For instance, if I want to know if the pixel at x=100,y=100 in the texture is red, does anyone know how to do this?
  Call lockrect on the texture and it will give you back a pointer to the data in the texture. And specify the rectangle you want to lock. http://msdn.microsoft.com/en-us/library/bb205913(VS.85).aspx for more info   