   Accessing pixel data of a texture
  In directX, specifically 8.1, how do I go about accessing the pixels of a texture?  I think that it has something to do with the IDirect3DTexture9::GetPrivateData class method.  But there is not enough information online (that I can find) that helps with using this class method.  If you could post some links to websites that may contain examples of how to access pixels in a texture then I would be greatful.Thanks in advance,   Richard DickersonPikestriker Games "Kids you tried hard and failed miserably, lesson learned never try" - Homer Simpson[edited by - Pikestriker on February 3, 2004 2:36:04 AM]
  You need to lock the texture to get a pointer to it's pixel data.GetPrivateData isn't the answer you're looking for.This is a fairly frequent topic, use the forum search for more info.kind rgds,-Nik [edited by - Nik02 on February 3, 2004 3:16:44 AM];  Thanks   Richard DickersonPikestriker Games "Kids you tried hard and failed miserably, lesson learned never try" - Homer Simpson 