Skip to main content
gamedev.net
🔒 Locked

Direct3DDevice

Started by amig May 26, 2003 at 10:09 AM 0 replies 250+ views
Original Post
amig
amig
I want to use directx to do some graphics processing (basically want to use some vertex and pixel shaders). I dont have direct access to any windows handles etc. Can i use directx to create a device that does not have any window associated with it, and still be a able to control its display width and height. I dont intend to draw using a hwnd, but just want to pass down the RGBA pixmap from the directx render target to application framework. My main bottleneck is that can i create a DIRECT3DDEVICE9 without associating a window with it ?
S1CA
S1CA
Direct3D *needs* a window handle so it can track what your process is up to (minimised, closed etc).

However you don''t necessarily need to have the window VISIBLE (depending on exactly what you''re doing) - just call CreateWindow() without the show flag and don''t call ShowWindow().
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.