D3DKMT_CLIENTHINT enumeration (d3dkmthk.h)

D3DKMT_CLIENTHINT hints at which client is creating a device context.

Syntax

typedef enum _D3DKMT_CLIENTHINT {
  D3DKMT_CLIENTHINT_UNKNOWN = 0,
  D3DKMT_CLIENTHINT_OPENGL = 1,
  D3DKMT_CLIENTHINT_CDD = 2,
  D3DKMT_CLIENTHINT_OPENCL = 3,
  D3DKMT_CLIENTHINT_VULKAN = 4,
  D3DKMT_CLIENTHINT_CUDA = 5,
  D3DKMT_CLIENTHINT_RESERVED = 6,
  D3DKMT_CLIENTHINT_DX7 = 7,
  D3DKMT_CLIENTHINT_DX8 = 8,
  D3DKMT_CLIENTHINT_DX9 = 9,
  D3DKMT_CLIENTHINT_DX10 = 10,
  D3DKMT_CLIENTHINT_DX11 = 11,
  D3DKMT_CLIENTHINT_DX12 = 12,
  D3DKMT_CLIENTHINT_9ON12 = 13,
  D3DKMT_CLIENTHINT_11ON12 = 14,
  D3DKMT_CLIENTHINT_MFT_ENCODE = 15,
  D3DKMT_CLIENTHINT_GLON12 = 16,
  D3DKMT_CLIENTHINT_CLON12 = 17,
  D3DKMT_CLIENTHINT_DML_TENSORFLOW = 18,
  D3DKMT_CLIENTHINT_ONEAPI_LEVEL0 = 19,
  D3DKMT_CLIENTHINT_DML_PYTORCH = 20,
  D3DKMT_CLIENTHINT_VKON12,
  D3DKMT_CLIENTHINT_FASTRPC,
  D3DKMT_CLIENTHINT_SNPE,
  D3DKMT_CLIENTHINT_QNN,
  D3DKMT_CLIENTHINT_VITIS,
  D3DKMT_CLIENTHINT_FFMPEG,
  D3DKMT_CLIENTHINT_OPEN_VINO,
  D3DKMT_CLIENTHINT_MAX
} D3DKMT_CLIENTHINT;

Constants

 
D3DKMT_CLIENTHINT_UNKNOWN
Value: 0
The client is unknown.
D3DKMT_CLIENTHINT_OPENGL
Value: 1
The client is the OpenGL runtime.
D3DKMT_CLIENTHINT_CDD
Value: 2
CDD (Canonical Display Driver). This value is reserved for internal use.
D3DKMT_CLIENTHINT_OPENCL
Value: 3
The client is OpenCL (Open Computing Language).
D3DKMT_CLIENTHINT_VULKAN
Value: 4
The client is Vulkan.
D3DKMT_CLIENTHINT_CUDA
Value: 5
The client is CUDA (Compute Unified Device Architecture).
D3DKMT_CLIENTHINT_RESERVED
Value: 6
Reserved.
D3DKMT_CLIENTHINT_DX7
Value: 7
The client is the DirectX 7.0 runtime.
D3DKMT_CLIENTHINT_DX8
Value: 8
The client is the DirectX 8.0 runtime.
D3DKMT_CLIENTHINT_DX9
Value: 9
The client is the DirectX 9.0 runtime.
D3DKMT_CLIENTHINT_DX10
Value: 10
The client is the DirectX 10.0 runtime.
D3DKMT_CLIENTHINT_DX11
Value: 11
The client is the DirectX 11.0 runtime.
D3DKMT_CLIENTHINT_DX12
Value: 12
The client is the DirectX 12.0 runtime.
D3DKMT_CLIENTHINT_9ON12
Value: 13
The client is the D3D9On12 mapping layer (DirectX 9 on DirectX 12).
D3DKMT_CLIENTHINT_11ON12
Value: 14
The client is the D3D11On12 mapping layer (DirectX 11 on DirectX 12).
D3DKMT_CLIENTHINT_MFT_ENCODE
Value: 15
The client is a Media Foundation Transform (MFT).
D3DKMT_CLIENTHINT_GLON12
Value: 16
The client is an OpenGL on DirectX 12 mapping layer.
D3DKMT_CLIENTHINT_CLON12
Value: 17
The client is an OpenCL on DirectX 12 mapping layer.
D3DKMT_CLIENTHINT_DML_TENSORFLOW
Value: 18
The client is TensorFlow.
D3DKMT_CLIENTHINT_ONEAPI_LEVEL0
Value: 19
The client is oneAPI Level Zero.
D3DKMT_CLIENTHINT_DML_PYTORCH
Value: 20
The client is PyTorch.
D3DKMT_CLIENTHINT_MAX
Maximum enumeration value.

Requirements

Requirement Value
Header d3dkmthk.h

See also

D3DKMT_CREATECONTEXT