DirectX into Bitmap
Posted
by G. St.
on Stack Overflow
See other posts from Stack Overflow
or by G. St.
Published on 2010-05-04T07:26:11Z
Indexed on
2010/05/04
7:28 UTC
Read the original article
Hit count: 153
directx
|layered-windows
Hi, I want to develope a graphicintensive application. It should be hardwareaccelerated with DirectX. Also it must looking good, so I use a LayeredWindow for nice shadoweffects.
But now I have a big problem, because I cannot draw with DX on a LayeredWindow. So I search for a possibility to render with DX into a bitmap, so I can use it for the layeredwindow. I found a way to get a stream of the rendersurface, but this brings up my processor to 100%, because I must render the layeredwindow up to 75 times per second.
Thank you, if you can help me, or you know a better way to draw with DirectX a Window with unregular Border and Shadows.
© Stack Overflow or respective owner