Create texture from resource RRS feed

  • Question

  • I got a problem in understanding about create texture from resource, from what i understand, after we create the texture, it will be copied to the memory right, then automatically it will be 'pasted' to the back buffer. Then we can use it just like the create texture from file.

    Ok, here's the thing, just tell me that my understanding is wrong. Because i cant seems to make it works. I'm trying to create a texture from resource, and i need to make it displayed just like the normal texture. It is because i need to test whether the driver is displaying the right texture or there is some texture corruption happen.

    Can somebody please help me in this. Could someone show me the right way to use D3DXCreateTextureFromResourse(), and teach me how to use it just like the normal texture.

    Thanks in advance.
    Thursday, February 22, 2007 6:45 AM