Bagikan melalui


struktur D3DDEVICEDESC_V2 (d3dhal.h)

Struktur D3DDeviceDesc_V2 usang; hanya D3DDeviceDesc_V1 yang harus digunakan.

Struktur D3DDeviceDesc_V2 berisi bidang yang sudah dilaporkan dalam struktur D3DHAL_D3DEXTENDEDCAPS saat merespons GUID GUID_D3DExtendedCaps di DdGetDriverInfo.

Sintaks

typedef struct _D3DDeviceDesc_V2 {
  DWORD            dwSize;
  DWORD            dwFlags;
  D3DCOLORMODEL    dcmColorModel;
  DWORD            dwDevCaps;
  D3DTRANSFORMCAPS dtcTransformCaps;
  BOOL             bClipping;
  D3DLIGHTINGCAPS  dlcLightingCaps;
  D3DPRIMCAPS      dpcLineCaps;
  D3DPRIMCAPS      dpcTriCaps;
  DWORD            dwDeviceRenderBitDepth;
  DWORD            dwDeviceZBufferBitDepth;
  DWORD            dwMaxBufferSize;
  DWORD            dwMaxVertexCount;
  DWORD            dwMinTextureWidth;
  DWORD            dwMinTextureHeight;
  DWORD            dwMaxTextureWidth;
  DWORD            dwMaxTextureHeight;
  DWORD            dwMinStippleWidth;
  DWORD            dwMaxStippleWidth;
  DWORD            dwMinStippleHeight;
  DWORD            dwMaxStippleHeight;
} D3DDEVICEDESC_V2, *LPD3DDEVICEDESC_V2;

Anggota

dwSize

dwFlags

dcmColorModel

dwDevCaps

dtcTransformCaps

bClipping

dlcLightingCaps

dpcLineCaps

dpcTriCaps

dwDeviceRenderBitDepth

dwDeviceZBufferBitDepth

dwMaxBufferSize

dwMaxVertexCount

dwMinTextureWidth

dwMinTextureHeight

dwMaxTextureWidth

dwMaxTextureHeight

dwMinStippleWidth

dwMaxStippleWidth

dwMinStippleHeight

dwMaxStippleHeight

Persyaratan

Persyaratan Nilai
Header d3dhal.h (termasuk D3dhal.h)