D3DCAPS3
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DCAPS3


Driver capability flags.

#defineValueDescription
D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD0x00000020LIndicates that the device can respect the D3DRS_ALPHABLENDENABLE render state in full-screen mode while using the FLIP or DISCARD swap effect. This only applies when the D3DRS_SRCBLEND or D3DRS_DESTBLEND states are set to one of the following:
  • D3DBLEND_DESTALPHA
  • D3DBLEND_INVDESTALPHA
  • D3DBLEND_DESTCOLOR
  • D3DBLEND_INVDESTCOLOR
D3DCAPS3_COPY_TO_VIDMEM0x00000100LDevice can accelerate a memory copy from system memory to local video memory. This cap guarantees that IDirect3DDevice9::UpdateSurface and IDirect3DDevice9::UpdateTexture calls will be hardware accelerated. If this cap is absent, these calls will succeed but will be slower.
D3DCAPS3_COPY_TO_SYSTEMMEM0x00000200LDevice can accelerate a memory copy from local video memory to system memory. This cap guarantees that IDirect3DDevice9::GetRenderTargetData calls will be hardware accelerated. If this cap is absent, this call will succeed but will be slower.
D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION0x00000080LIndicates that the device can perform gamma correction from a windowed back buffer (containing linear content) to an sRGB desktop.
D3DCAPS3_RESERVED0x8000001fLReserved; not used.

These constants are used by the D3CAPS3 member of D3DCAPS9.

Constant Information

Headerd3d9caps.h
Minimum operating systemWindows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.