Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
July 21, 2014
Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1 only
This topic describes the Direct3D APIs that are supported on Windows Phone 8.
This topic contains the following sections.
- Direct3D APIs
- DirectX Graphics Infrastructure (DXGI) APIs
- Partially supported DXGI interfaces
- DirectXMath APIs
- Unavailable APIs
- Related Topics
Direct3D APIs
The following table lists Direct3D APIs and indicates whether they are supported on Windows Phone.
API |
Is supported |
Notes |
---|---|---|
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
No |
||
No |
||
Yes |
||
Yes |
||
Yes |
This interface can be used only on devices when the debugger is attached. |
|
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
No |
||
No |
||
No |
||
Yes |
This interface can be used only on devices when the debugger is attached. |
|
Yes |
||
Yes |
||
Yes |
||
Partially |
Supports features included in feature level 9_3. |
|
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
No |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Yes |
DirectX Graphics Infrastructure (DXGI) APIs
The following table lists DXGI APIs and whether they are supported on the phone.
API |
Is supported |
Notes |
---|---|---|
No |
||
Yes |
The IDXGIFactory::CreateSwapChain method does not support using a DXGI_SWAP_CHAIN_DESC structure with the DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY flag set. |
|
Yes |
This interface can be used only on devices when the debugger is attached. |
|
Yes |
||
Yes |
||
Yes |
This interface can only be used on devices when the debugger is attached. |
|
Yes |
||
Yes |
||
Yes |
||
Yes |
||
Partially |
Interface support details |
|
Yes |
||
Partially |
Interface support details |
|
Yes |
||
Yes |
||
Yes |
||
Partially |
Interface support details |
|
Partially |
Interface support details |
|
Yes |
||
Yes |
||
Yes |
||
No |
||
Yes |
||
Partially |
Interface support details |
|
Partially |
Interface support details |
Partially supported DXGI interfaces
The following sections list DXGI interfaces that are partially supported on the phone.
IDXGIFactory
Method |
Is supported |
Notes |
---|---|---|
Yes |
||
No |
||
Yes |
||
No |
||
No |
IDXGIFactory2
Method |
Is supported |
Notes |
---|---|---|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
Partially |
The DXGI_SWAP_CHAIN_DESC1 parameter of this method must set SwapEffect to DXGI_SWAP_EFFECT_DISCARD. The DXGI_SWAP_CHAIN_DESC1 parameter of this method must set BufferCount to 1. The DXGI_SWAP_CHAIN_DESC1 parameter of this method must set Scaling to DXGI_SCALING_STRETCH or DXGI_SCALING_ASPECT_RATIO_STRETCH. The DXGI_SWAP_CHAIN_DESC1 parameter of this method can set the Format to DXGI_FORMAT_R8G8B8A8_UNORM or DXGI_FORMAT_R8G8B8A8_UNORM_SRGB when running on a device, but these formats are not supported on the emulator. The compositor does format validation and if the requested buffer format is not supported, the system will create the buffer using a supported format. If you need to know the actual format of the buffer, query for the format using the following code:
|
|
Yes |
||
No |
||
No |
Returns DXGI_ERROR_INVALID_CALL. |
|
No |
Returns DXGI_ERROR_INVALID_CALL. |
|
No |
Returns DXGI_ERROR_INVALID_CALL. |
|
No |
Returns DXGI_ERROR_INVALID_CALL. |
|
No |
Returns DXGI_ERROR_INVALID_CALL. |
|
No |
Returns DXGI_ERROR_INVALID_CALL. |
IDXGIOutput
Method |
Is supported |
Notes |
---|---|---|
Yes |
||
Yes |
||
Yes |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
||
Yes |
IDXGIOutput1
Method |
Is supported |
Notes |
---|---|---|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
Yes |
||
Yes |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
IDXGISwapChain
Method |
Is supported |
Notes |
---|---|---|
Yes |
This method only supports a value of 0 for the first argument, which is a buffer index. |
|
Yes |
||
Yes |
||
No |
||
Yes |
||
Yes |
||
Yes |
||
No |
||
No |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
IDXGISwapChain1
Method |
Is supported |
Notes |
---|---|---|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
Yes |
||
Yes |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
Yes |
||
Yes |
||
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
|
No |
Returns DXGI_ERROR_UNSUPPORTED. |
DirectXMath APIs
Direct3D apps on Windows Phone can use all of the APIs in the DirectXMath library. For a list of these APIs, see DirectXMath Programming Reference.
Unavailable APIs
The following API sets are entirely unavailable for phone applications.