Clipping part of a surface in a 2D interface

I'm having trouble figuring out how to clip a rectangular region on a larger Direct3D surface. I have a surface the size of the screen that holds my background image, and I need to prevent a small part of the surface from being redrawn because there is a DirectShow video window on top of it that flashes when the surface is redrawn.

Please be detailed in how to accomplish this as I am fairly new to Direct3D.

Thanks,

Dustin



Answer this question

Clipping part of a surface in a 2D interface

  • nunodonato

    Draw your video after you draw your interface, or if your video is running in its own window, then make sure it's on top of your window and it should work ok...

  • akilah

    Anyone Please Help!
  • Clipping part of a surface in a 2D interface