52 BOOL surface_fullscreen,
53 BOOL onlySystemMemory,
57 const PALETTEENTRY* pPaletteEntries,
131 IDirect3D2* m_pDirect3d;
136 IDirect3DDevice2* m_pDirect3dDevice;
141 BOOL m_bTexturesDisabled;
[AI] Holds assignment and description details for a Direct3D rendering device in use.
[AI] Enumerates DirectDraw/Direct3D drivers, devices, and display modes on the system.
[AI] MxDirect3D provides Direct3D (D3D) rendering capabilities layered on top of MxDirectDraw,...
~MxDirect3D() override
[AI] Destroys the MxDirect3D object, releasing associated Direct3D interfaces and memory for assigned...
BOOL SetDevice(MxDeviceEnumerate &p_deviceEnumerate, MxDriver *p_driver, Direct3DDeviceInfo *p_device)
[AI] Selects which Direct3D device to be used for rendering, given an enumeration of available device...
IDirect3DDevice2 * Direct3DDevice()
[AI] Provides access to the currently selected Direct3D device interface.
BOOL D3DCreate()
[AI] Internal D3D initialization helper: acquires the IDirect3D2 interface from DirectDraw.
void DestroyButNotDirectDraw() override
[AI] Like Destroy(), but preserves the DirectDraw context; only Direct3D/3DDevice and D3D-specific ob...
MxAssignedDevice * AssignedDevice()
[AI] Returns the currently selected/active rendering device information for 3D output.
int ZBufferDepth(MxAssignedDevice *p_assignedDevice)
[AI] Determines the suitable ZBuffer depth for a selected rendering device, according to its capabili...
BOOL D3DSetMode()
[AI] Internal method to initialize D3D video mode, create devices, ZBuffer, and clear surfaces as nee...
MxDirect3D()
[AI] Constructs a new MxDirect3D object.
IDirect3D2 * Direct3D()
[AI] Provides access to the underlying IDirect3D2 interface for advanced 3D rendering operations.
BOOL Create(HWND hWnd, BOOL fullscreen_1, BOOL surface_fullscreen, BOOL onlySystemMemory, int width, int height, int bpp, const PALETTEENTRY *pPaletteEntries, int paletteEntryCount) override
[AI] Initializes DirectDraw and Direct3D, prepares primary surfaces and selects the video mode,...
void Destroy() override
[AI] Tears down the Direct3D environment, including releasing D3D and D3DDevice objects,...
Class responsible for interfacing with DirectDraw to manage rendering surfaces, palettes,...
[AI] STL compatibility layer header to provide consistent STL (Standard Template Library) types and a...
[AI] Encapsulates Direct3D device enumeration information and capability structures.
[AI] Holds data about a DirectDraw driver including devices and supported display modes.