Skip to main content
gamedev.net
🔒 Locked

Initializing IDirect3D8 object

Started by Link 0 replies 300+ views
Original Post
Link
Link
i start with Direct3DCreate8 then what of these i must call? : CreateDevice EnumAdapterModes GetAdapterCount GetAdapterDisplayMode GetAdapterIdentifier GetAdapterModeCount GetAdapterMonitor GetDeviceCaps CheckDeviceFormat CheckDeviceMultiSampleType CheckDeviceType AddRef QueryInterface Release Tnx
masonium
masonium
When you call Direct3DCreate8, the IDirect3D8 object is already initialized. If you''re trying to initialize an IDirect3DDevice8* object, though, the only methods you [u]have[/u] to call are CreateDevice and GetAdapterDisplayMode. Go here for more info:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/directx_cpp/Graphics/ProgrammersGuide/GettingStarted/Tutorials/CPP/1/tutorial1.asp

''There''s something out there....something stupid...''
''I think I''m going to be ill. Is that a problem for you?''
''[You] overestimate my conscience by assuming that I have one.''
- Daria

DirectInput8 with the Keyboard , DirectInput8 with the Mouse , Using DirectX Audio 8

Topic Locked

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

Sign in to reply to this topic.