EACam |
Posted - May 29 2004 : 11:29:49 AM Ok...my editor needs to have multiple windows, and therefore multiple devices. I've already got that all set up (i've devised a sweet architecture for handling mutliple windows ). Only problem. As far as I know, when you load a texture you have to supply the device its "loaded in" (i guess). This poses a problem for me. I need my windows to have access to the same array of textures. It doesn't make sense that DX would force you to reload ALL your textures for each device does it? Maybe I'll have to, but i'd much rather have them use the same memory (since i'll be loading a LOT of textures).
Any thougths?
Thanks a bunch. |
EACam |
Posted - May 29 2004 : 7:42:22 PM Thanks! |
VBBR |
Posted - May 29 2004 : 4:32:07 PM See this at DirectX4VB.
Quick snippets, tip #5. |
EACam |
Posted - May 29 2004 : 3:48:57 PM Can you? I don't think you can. When you initialize a device, you have to give it a window handle (hWnd) and picture boxes each have their own. |
SuperC |
Posted - May 29 2004 : 3:26:32 PM Use 1 device to render the multiple windows. |