Isle
Loading...
Searching...
No Matches
TglSurface::CreateStruct Struct Reference

[AI] Contains initialization parameters for creating a TglSurface and its underlying DDraw/D3D resources. More...

#include <tglsurface.h>

Public Attributes

const GUID * m_pDriverGUID
 [AI] DirectDraw driver GUID to use or NULL for primary display. More...
 
HWND m_hWnd
 [AI] Handle to the window to be associated with this surface. More...
 
IDirectDraw * m_pDirectDraw
 [AI] DirectDraw interface pointer for low-level surface management. More...
 
IDirectDrawSurface * m_pFrontBuffer
 [AI] DirectDraw primary/front buffer surface. More...
 
IDirectDrawSurface * m_pBackBuffer
 [AI] Optional DirectDraw back buffer for double buffering. More...
 
IDirectDrawPalette * m_pPalette
 [AI] Optional palette for indexed color surfaces. More...
 
BOOL m_isFullScreen
 [AI] TRUE to use fullscreen mode, FALSE for windowed rendering. More...
 
BOOL m_isWideViewAngle
 [AI] Enables wide or default field-of-view projection. More...
 
IDirect3D2 * m_direct3d
 [AI] Direct3D2 interface pointer for 3D initialization. More...
 
IDirect3DDevice2 * m_d3dDevice
 [AI] Direct3D2 device interface (hardware or emulated). More...
 

Detailed Description

[AI] Contains initialization parameters for creating a TglSurface and its underlying DDraw/D3D resources.

[AI] Used to pass all necessary Windows handles, DirectDraw, Direct3D, and palette surfaces for full or windowed rendering. The parameters support both hardware and emulated pixel processing depending on the provided interfaces. [AI]

Definition at line 40 of file tglsurface.h.

Member Data Documentation

◆ m_d3dDevice

IDirect3DDevice2* TglSurface::CreateStruct::m_d3dDevice

[AI] Direct3D2 device interface (hardware or emulated).

Definition at line 50 of file tglsurface.h.

◆ m_direct3d

IDirect3D2* TglSurface::CreateStruct::m_direct3d

[AI] Direct3D2 interface pointer for 3D initialization.

Definition at line 49 of file tglsurface.h.

◆ m_hWnd

HWND TglSurface::CreateStruct::m_hWnd

[AI] Handle to the window to be associated with this surface.

Definition at line 42 of file tglsurface.h.

◆ m_isFullScreen

BOOL TglSurface::CreateStruct::m_isFullScreen

[AI] TRUE to use fullscreen mode, FALSE for windowed rendering.

Definition at line 47 of file tglsurface.h.

◆ m_isWideViewAngle

BOOL TglSurface::CreateStruct::m_isWideViewAngle

[AI] Enables wide or default field-of-view projection.

Definition at line 48 of file tglsurface.h.

◆ m_pBackBuffer

IDirectDrawSurface* TglSurface::CreateStruct::m_pBackBuffer

[AI] Optional DirectDraw back buffer for double buffering.

Definition at line 45 of file tglsurface.h.

◆ m_pDirectDraw

IDirectDraw* TglSurface::CreateStruct::m_pDirectDraw

[AI] DirectDraw interface pointer for low-level surface management.

Definition at line 43 of file tglsurface.h.

◆ m_pDriverGUID

const GUID* TglSurface::CreateStruct::m_pDriverGUID

[AI] DirectDraw driver GUID to use or NULL for primary display.

Definition at line 41 of file tglsurface.h.

◆ m_pFrontBuffer

IDirectDrawSurface* TglSurface::CreateStruct::m_pFrontBuffer

[AI] DirectDraw primary/front buffer surface.

Definition at line 44 of file tglsurface.h.

◆ m_pPalette

IDirectDrawPalette* TglSurface::CreateStruct::m_pPalette

[AI] Optional palette for indexed color surfaces.

Definition at line 46 of file tglsurface.h.


The documentation for this struct was generated from the following file: