3d surface question

Started by
0 comments, last by CProgrammer 21 years, 1 month ago
Can I convert an d3d image surface(LPDIRECT3DSURFACE8) to a texture (LPDIRECT3DTEXTURE8)? If so how?
Advertisement
You''ll want to use IDirect3DTexture9::GetSurfaceLevel() to get a surface on the texture, and then use D3DXLoadSurfaceFromSurface() to copy the surfaces.

Jason,
DirectX SDK developer

This topic is closed to new replies.

Advertisement