Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 9a0b5e9

Browse files
committed
Mapping improvements for ID3D11On12Device and Direct3D12 ResourceStates.
1 parent 24b9fda commit 9a0b5e9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Source/SharpDX.Direct3D11/Mapping.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@
258258
<map interface="ID3DDeviceContextState" name="DeviceContextState"/>
259259
<map interface="ID3DUserDefinedAnnotation" name="UserDefinedAnnotation"/>
260260
<map method="ID3DUserDefinedAnnotation::SetMarker" property="false" />
261-
261+
<map interface="ID3D11On12Device" name="Device11On12"/>
262+
262263
<map param="ID3D11Device1::CreateDeviceContextState::Flags" type="D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG"/>
263264

264265
<map method="ID3D11Device1::OpenSharedResourceByName" visibility="internal" />

Source/SharpDX.Direct3D12/Mapping.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109

110110
<map enum="D3D12_FORMAT_SUPPORT1" flags="true"/>
111111
<map enum="D3D12_FORMAT_SUPPORT2" flags="true"/>
112-
112+
<map enum="D3D12_RESOURCE_STATES" flags="true"/>
113+
113114
<!--
114115
// *****************************************************************
115116
// D3D12 Struct

0 commit comments

Comments
 (0)