pd3d

Pointer to the IDirect3D interface. Allocated after the first frame.

pd3ddev

Pointer to the current IDirect3DDevice. Can change when the video resolution changes.

pd3dcaps

Pointer to the current D3DCAPS9 struct. Can change when the video resolution changes.

pvertexdecl

Pointer to the vertex declaration of model meshes. Can change with new engine versions.

Type:

void*

Example: See ent_setmesh()

See also:

hWnd, hWndTarget

► latest version online