Blit into a texture

Started by
1 comment, last by Colo_18 22 years, 8 months ago
A simple question: How can I blit a RECT from a Direct3dsurface8 to a Direct3dTexture8? Can I use CopyRects?... How can I make it to work?
CNE
Advertisement
You can use CopyRects but you cannot copy rects to and from the same surface or do anything like alpha blending or colorkeying . Use Texture->GetSurface to get the surface interfaces to parse into CopyRects().

  Downloads:  ZeroOne Realm

  Downloads:  ZeroOne Realm

Yes, but when I do that, the texture is lost and i can only see a white rectangle...
CNE

This topic is closed to new replies.

Advertisement