win32.directx.d3d9

Undocumented in source.

Public Imports

win32.directx.d3d9types
public import win32.directx.d3d9types;
Undocumented in source.
win32.directx.d3d9caps
public import win32.directx.d3d9caps;
Undocumented in source.

Members

Aliases

IDirect3D9
alias IDirect3D9 = LPDIRECT3D9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3D9Ex
alias IDirect3D9Ex = LPDIRECT3D9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DBaseTexture9
alias IDirect3DBaseTexture9 = LPDIRECT3DBASETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DCubeTexture9
alias IDirect3DCubeTexture9 = LPDIRECT3DCUBETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DDevice9
alias IDirect3DDevice9 = LPDIRECT3DDEVICE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DDevice9Ex
alias IDirect3DDevice9Ex = LPDIRECT3DDEVICE9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DIndexBuffer9
alias IDirect3DIndexBuffer9 = LPDIRECT3DINDEXBUFFER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DPixelShader9
alias IDirect3DPixelShader9 = LPDIRECT3DPIXELSHADER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DQuery9
alias IDirect3DQuery9 = LPDIRECT3DQUERY9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DResource9
alias IDirect3DResource9 = LPDIRECT3DRESOURCE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DStateBlock9
alias IDirect3DStateBlock9 = LPDIRECT3DSTATEBLOCK9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DSurface9
alias IDirect3DSurface9 = LPDIRECT3DSURFACE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DSwapChain9
alias IDirect3DSwapChain9 = LPDIRECT3DSWAPCHAIN9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DSwapChain9Ex
alias IDirect3DSwapChain9Ex = LPDIRECT3DSWAPCHAIN9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DTexture9
alias IDirect3DTexture9 = LPDIRECT3DTEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DVertexBuffer9
alias IDirect3DVertexBuffer9 = LPDIRECT3DVERTEXBUFFER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DVertexDeclaration9
alias IDirect3DVertexDeclaration9 = LPDIRECT3DVERTEXDECLARATION9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DVertexShader9
alias IDirect3DVertexShader9 = LPDIRECT3DVERTEXSHADER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DVolume9
alias IDirect3DVolume9 = LPDIRECT3DVOLUME9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IDirect3DVolumeTexture9
alias IDirect3DVolumeTexture9 = LPDIRECT3DVOLUMETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

D3DPERF_BeginEvent
int D3DPERF_BeginEvent(D3DCOLOR col, LPCWSTR wszName)

Stubs for graphics profiling.

D3DPERF_EndEvent
int D3DPERF_EndEvent()
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D3DPERF_GetStatus
DWORD D3DPERF_GetStatus()
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D3DPERF_QueryRepeatFrame
BOOL D3DPERF_QueryRepeatFrame()
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D3DPERF_SetMarker
void D3DPERF_SetMarker(D3DCOLOR col, LPCWSTR wszName)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D3DPERF_SetOptions
void D3DPERF_SetOptions(DWORD dwOptions)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
D3DPERF_SetRegion
void D3DPERF_SetRegion(D3DCOLOR col, LPCWSTR wszName)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
Direct3DCreate9
LPDIRECT3D9 Direct3DCreate9(UINT SDKVersion)

DLL Function for creating a Direct3D9 object. This object supports enumeration and allows the creation of Direct3DDevice9 objects. Pass the value of the constant D3D_SDK_VERSION to this function, so that the run-time can validate that your application was compiled against the right headers.

Direct3DCreate9Ex
HRESULT Direct3DCreate9Ex(UINT SDKVersion, LPDIRECT3D9EX* )

/* D3D9Ex interfaces /********************

MAKE_D3DHRESULT
HRESULT MAKE_D3DHRESULT(T code)
Undocumented in source. Be warned that the author may not have intended to support it.
MAKE_D3DSTATUS
HRESULT MAKE_D3DSTATUS(T code)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

LPDIRECT3D9
interface LPDIRECT3D9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3D9EX
interface LPDIRECT3D9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DBASETEXTURE9
interface LPDIRECT3DBASETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DCUBETEXTURE9
interface LPDIRECT3DCUBETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DDEVICE9
interface LPDIRECT3DDEVICE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DDEVICE9EX
interface LPDIRECT3DDEVICE9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DINDEXBUFFER9
interface LPDIRECT3DINDEXBUFFER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DPIXELSHADER9
interface LPDIRECT3DPIXELSHADER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DQUERY9
interface LPDIRECT3DQUERY9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DRESOURCE9
interface LPDIRECT3DRESOURCE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DSTATEBLOCK9
interface LPDIRECT3DSTATEBLOCK9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DSURFACE9
interface LPDIRECT3DSURFACE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DSWAPCHAIN9
interface LPDIRECT3DSWAPCHAIN9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DSWAPCHAIN9EX
interface LPDIRECT3DSWAPCHAIN9EX
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DTEXTURE9
interface LPDIRECT3DTEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DVERTEXBUFFER9
interface LPDIRECT3DVERTEXBUFFER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DVERTEXDECLARATION9
interface LPDIRECT3DVERTEXDECLARATION9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DVERTEXSHADER9
interface LPDIRECT3DVERTEXSHADER9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DVOLUME9
interface LPDIRECT3DVOLUME9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LPDIRECT3DVOLUMETEXTURE9
interface LPDIRECT3DVOLUMETEXTURE9
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

D3D9b_SDK_VERSION
auto D3D9b_SDK_VERSION;
Undocumented in source.
D3D9b_SDK_VERSION
auto D3D9b_SDK_VERSION;
Undocumented in source.
D3DADAPTER_DEFAULT
auto D3DADAPTER_DEFAULT;

Parameter for IDirect3D9::CreateDevice's Adapter argument

D3DCREATE_ADAPTERGROUP_DEVICE
auto D3DCREATE_ADAPTERGROUP_DEVICE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_DISABLE_DRIVER_MANAGEMENT
auto D3DCREATE_DISABLE_DRIVER_MANAGEMENT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_DISABLE_DRIVER_MANAGEMENT_EX
auto D3DCREATE_DISABLE_DRIVER_MANAGEMENT_EX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_DISABLE_PRINTSCREEN
auto D3DCREATE_DISABLE_PRINTSCREEN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_DISABLE_PSGP_THREADING
auto D3DCREATE_DISABLE_PSGP_THREADING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_ENABLE_PRESENTSTATS
auto D3DCREATE_ENABLE_PRESENTSTATS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_FPU_PRESERVE
auto D3DCREATE_FPU_PRESERVE;

Flags for IDirect3D9::CreateDevice's BehaviorFlags

D3DCREATE_HARDWARE_VERTEXPROCESSING
auto D3DCREATE_HARDWARE_VERTEXPROCESSING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_MIXED_VERTEXPROCESSING
auto D3DCREATE_MIXED_VERTEXPROCESSING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_MULTITHREADED
auto D3DCREATE_MULTITHREADED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_NOWINDOWCHANGES
auto D3DCREATE_NOWINDOWCHANGES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_PUREDEVICE
auto D3DCREATE_PUREDEVICE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_SCREENSAVER
auto D3DCREATE_SCREENSAVER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCREATE_SOFTWARE_VERTEXPROCESSING
auto D3DCREATE_SOFTWARE_VERTEXPROCESSING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DCURSOR_IMMEDIATE_UPDATE
auto D3DCURSOR_IMMEDIATE_UPDATE;

Flags for IDirect3DDevice9::SetCursorPosition

D3DENUM_NO_DRIVERVERSION
auto D3DENUM_NO_DRIVERVERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DENUM_WHQL_LEVEL
auto D3DENUM_WHQL_LEVEL;

Flags for IDirect3D9::EnumAdapters

D3DERR_CONFLICTINGRENDERSTATE
HRESULT D3DERR_CONFLICTINGRENDERSTATE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_CONFLICTINGTEXTUREFILTER
HRESULT D3DERR_CONFLICTINGTEXTUREFILTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_CONFLICTINGTEXTUREPALETTE
HRESULT D3DERR_CONFLICTINGTEXTUREPALETTE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DEVICEHUNG
HRESULT D3DERR_DEVICEHUNG;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DEVICELOST
HRESULT D3DERR_DEVICELOST;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DEVICENOTRESET
HRESULT D3DERR_DEVICENOTRESET;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DEVICEREMOVED
HRESULT D3DERR_DEVICEREMOVED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DRIVERINTERNALERROR
HRESULT D3DERR_DRIVERINTERNALERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_DRIVERINVALIDCALL
HRESULT D3DERR_DRIVERINVALIDCALL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_INVALIDCALL
HRESULT D3DERR_INVALIDCALL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_INVALIDDEVICE
HRESULT D3DERR_INVALIDDEVICE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_MOREDATA
HRESULT D3DERR_MOREDATA;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_NOTAVAILABLE
HRESULT D3DERR_NOTAVAILABLE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_NOTFOUND
HRESULT D3DERR_NOTFOUND;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_OUTOFVIDEOMEMORY
HRESULT D3DERR_OUTOFVIDEOMEMORY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_TOOMANYOPERATIONS
HRESULT D3DERR_TOOMANYOPERATIONS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDALPHAARG
HRESULT D3DERR_UNSUPPORTEDALPHAARG;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDALPHAOPERATION
HRESULT D3DERR_UNSUPPORTEDALPHAOPERATION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDCOLORARG
HRESULT D3DERR_UNSUPPORTEDCOLORARG;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDCOLOROPERATION
HRESULT D3DERR_UNSUPPORTEDCOLOROPERATION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDFACTORVALUE
HRESULT D3DERR_UNSUPPORTEDFACTORVALUE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_UNSUPPORTEDTEXTUREFILTER
HRESULT D3DERR_UNSUPPORTEDTEXTUREFILTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_WASSTILLDRAWING
HRESULT D3DERR_WASSTILLDRAWING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DERR_WRONGTEXTUREFORMAT
HRESULT D3DERR_WRONGTEXTUREFORMAT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DOK_NOAUTOGEN
HRESULT D3DOK_NOAUTOGEN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DPRESENT_BACK_BUFFERS_MAX
auto D3DPRESENT_BACK_BUFFERS_MAX;

Maximum number of back-buffers supported in DX9

D3DPRESENT_BACK_BUFFERS_MAX_EX
auto D3DPRESENT_BACK_BUFFERS_MAX_EX;

Maximum number of back-buffers supported when apps use CreateDeviceEx

D3DPRESENT_DONOTFLIP
auto D3DPRESENT_DONOTFLIP;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DPRESENT_DONOTWAIT
auto D3DPRESENT_DONOTWAIT;

Flags for IDirect3DSwapChain9::Present

D3DPRESENT_FLIPRESTART
auto D3DPRESENT_FLIPRESTART;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DPRESENT_LINEAR_CONTENT
auto D3DPRESENT_LINEAR_CONTENT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DPRESENT_VIDEO_RESTRICT_TO_MONITOR
auto D3DPRESENT_VIDEO_RESTRICT_TO_MONITOR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DSGR_CALIBRATE
auto D3DSGR_CALIBRATE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3DSGR_NO_CALIBRATION
auto D3DSGR_NO_CALIBRATION;

Flags for IDirect3DDevice9::SetGammaRamp

D3DSPD_IUNKNOWN
auto D3DSPD_IUNKNOWN;

Flags for SetPrivateData method on all D3D9 interfaces

D3D_OK
HRESULT D3D_OK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
D3D_SDK_VERSION
auto D3D_SDK_VERSION;
Undocumented in source.
D3D_SDK_VERSION
auto D3D_SDK_VERSION;
Undocumented in source.
DIRECT3D_VERSION
auto DIRECT3D_VERSION;
Undocumented in source.
IID_HelperName
GUID IID_HelperName;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3D9
GUID IID_IDirect3D9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3D9Ex
GUID IID_IDirect3D9Ex;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DBaseTexture9
GUID IID_IDirect3DBaseTexture9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DCubeTexture9
GUID IID_IDirect3DCubeTexture9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DDevice9
GUID IID_IDirect3DDevice9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DDevice9Ex
GUID IID_IDirect3DDevice9Ex;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DIndexBuffer9
GUID IID_IDirect3DIndexBuffer9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DPixelShader9
GUID IID_IDirect3DPixelShader9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DQuery9
GUID IID_IDirect3DQuery9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DResource9
GUID IID_IDirect3DResource9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DStateBlock9
GUID IID_IDirect3DStateBlock9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DSurface9
GUID IID_IDirect3DSurface9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DSwapChain9
GUID IID_IDirect3DSwapChain9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DSwapChain9Ex
GUID IID_IDirect3DSwapChain9Ex;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DTexture9
GUID IID_IDirect3DTexture9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DVertexBuffer9
GUID IID_IDirect3DVertexBuffer9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DVertexDeclaration9
GUID IID_IDirect3DVertexDeclaration9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DVertexShader9
GUID IID_IDirect3DVertexShader9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DVolume9
GUID IID_IDirect3DVolume9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
IID_IDirect3DVolumeTexture9
GUID IID_IDirect3DVolumeTexture9;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
S_NOT_RESIDENT
HRESULT S_NOT_RESIDENT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
S_PRESENT_MODE_CHANGED
HRESULT S_PRESENT_MODE_CHANGED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
S_PRESENT_OCCLUDED
HRESULT S_PRESENT_OCCLUDED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
S_RESIDENT_IN_SHARED_MEMORY
HRESULT S_RESIDENT_IN_SHARED_MEMORY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_FACD3D
auto _FACD3D;

Flags for DrawPrimitive/DrawIndexedPrimitive Also valid for Begin/BeginIndexed Also valid for VertexBuffer::CreateVertexBuffer

Meta