How does one resize a texture in memory?

That’s it, I just want to know how to change the size of a texture in memory?

StretchRect wont work because the source and dest have to be RTs and I cant use RTs with GetFrontBufferData.

UpdateSurface can’t change the size of the image.

How should I do this?

[535 byte] By [Scythen] at [2007-12-23]
# 1

The method GetFrontBufferData() copies data from the video card's memory to the CPU's memory. It's also very, very slow, and only intended to be used to generate screen shots. Depending on what exactly it is you're trying to do, a better idea might be to use StretchRect() to copy the back buffer to a render target texture.

RossRidge at 2007-8-31 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: General...