Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Sharing Textures between Devices

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
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.
4   L A T E S T    R E P L I E S    (Newest First)
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.

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.