Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

DX9 Multiple Devices for Seperation

$
0
0
Hello Community, I wanted to seperate drawings - different "IDirect3DDevice9Ex" Devices for different purposes. The problem I have is that Device A is drawing the background and if I add Device B for drawing simple geometricts or even a simple line.. the background turns black but the line is drawn. So I dont really know how to configure device B that it only overwrite the pixels at e.g. destination of the line and not all pixels of device A. So what are the correct settings to archive the mentioned goal ? (D3DPRESENT_PARAMETERS, Present/Clear) ,greetings

Viewing all articles
Browse latest Browse all 17825

Trending Articles