llyzs.vic

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

101 Neutral

About llyzs.vic

  • Rank
    Newbie
  1. Hi, I am writing a program with Direct3D 9Ex. In certain requirement I have to copy (not stretch) a rectangle of a render target surface (which has something rendered) into the same surface, possibly overlapped. SctrechRect clearly does not support it; setting the render target as a texture and render to itself does not work either. So what is the fastest way to do it? I am aware that I can create a staging surface and does two copy operations but it looks really silly. In my program such operation has to be done multiple times per frame so I want to know if there's a faster way. Thanks!