- 'D3D11_APPEND_ALIGNED_ELEMENT',
-])
-
-D3D11_INPUT_ELEMENT_DESC = Struct('D3D11_INPUT_ELEMENT_DESC', [
- (LPCSTR, 'SemanticName'),
- (UINT, 'SemanticIndex'),
- (DXGI_FORMAT, 'Format'),
- (UINT, 'InputSlot'),
- (D3D11_INPUT_ELEMENT_ALIGNED_BYTE_OFFSET, 'AlignedByteOffset'),
- (D3D11_INPUT_CLASSIFICATION, 'InputSlotClass'),
- (UINT, 'InstanceDataStepRate'),
-])
-
-D3D11_FILL_MODE = Enum('D3D11_FILL_MODE', [
- 'D3D11_FILL_WIREFRAME',
- 'D3D11_FILL_SOLID',
-])
-
-D3D11_PRIMITIVE_TOPOLOGY = Enum('D3D11_PRIMITIVE_TOPOLOGY', [
- 'D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED',
- 'D3D11_PRIMITIVE_TOPOLOGY_POINTLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_LINELIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP',
- 'D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP',
- 'D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ',
- 'D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ',
- 'D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ',
- 'D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ',
- 'D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST',
- 'D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST',
-])
-
-D3D11_PRIMITIVE = Enum('D3D11_PRIMITIVE', [
- 'D3D11_PRIMITIVE_UNDEFINED',
- 'D3D11_PRIMITIVE_POINT',
- 'D3D11_PRIMITIVE_LINE',
- 'D3D11_PRIMITIVE_TRIANGLE',
- 'D3D11_PRIMITIVE_LINE_ADJ',
- 'D3D11_PRIMITIVE_TRIANGLE_ADJ',
- 'D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH',
- 'D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH',
-])
-
-D3D11_CULL_MODE = Enum('D3D11_CULL_MODE', [
- 'D3D11_CULL_NONE',
- 'D3D11_CULL_FRONT',
- 'D3D11_CULL_BACK',
-])
-
-D3D11_SO_DECLARATION_ENTRY = Struct('D3D11_SO_DECLARATION_ENTRY', [
- (UINT, 'Stream'),
- (LPCSTR, 'SemanticName'),
- (UINT, 'SemanticIndex'),
- (BYTE, 'StartComponent'),
- (BYTE, 'ComponentCount'),
- (BYTE, 'OutputSlot'),
-])
-
-D3D11_VIEWPORT = Struct('D3D11_VIEWPORT', [
- (FLOAT, 'TopLeftX'),
- (FLOAT, 'TopLeftY'),
- (FLOAT, 'Width'),
- (FLOAT, 'Height'),
- (FLOAT, 'MinDepth'),
- (FLOAT, 'MaxDepth'),
-])
-
-D3D11_RESOURCE_DIMENSION = Enum('D3D11_RESOURCE_DIMENSION', [
- 'D3D11_RESOURCE_DIMENSION_UNKNOWN',
- 'D3D11_RESOURCE_DIMENSION_BUFFER',
- 'D3D11_RESOURCE_DIMENSION_TEXTURE1D',
- 'D3D11_RESOURCE_DIMENSION_TEXTURE2D',
- 'D3D11_RESOURCE_DIMENSION_TEXTURE3D',
-])
-
-D3D11_SRV_DIMENSION = Enum('D3D11_SRV_DIMENSION', [
- 'D3D11_SRV_DIMENSION_UNKNOWN',
- 'D3D11_SRV_DIMENSION_BUFFER',
- 'D3D11_SRV_DIMENSION_TEXTURE1D',
- 'D3D11_SRV_DIMENSION_TEXTURE1DARRAY',
- 'D3D11_SRV_DIMENSION_TEXTURE2D',
- 'D3D11_SRV_DIMENSION_TEXTURE2DARRAY',
- 'D3D11_SRV_DIMENSION_TEXTURE2DMS',
- 'D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY',
- 'D3D11_SRV_DIMENSION_TEXTURE3D',
- 'D3D11_SRV_DIMENSION_TEXTURECUBE',
- 'D3D11_SRV_DIMENSION_TEXTURECUBEARRAY',
- 'D3D11_SRV_DIMENSION_BUFFEREX',
-])
-
-D3D11_DSV_DIMENSION = Enum('D3D11_DSV_DIMENSION', [
- 'D3D11_DSV_DIMENSION_UNKNOWN',
- 'D3D11_DSV_DIMENSION_TEXTURE1D',
- 'D3D11_DSV_DIMENSION_TEXTURE1DARRAY',
- 'D3D11_DSV_DIMENSION_TEXTURE2D',
- 'D3D11_DSV_DIMENSION_TEXTURE2DARRAY',
- 'D3D11_DSV_DIMENSION_TEXTURE2DMS',
- 'D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY',
-])
-
-D3D11_RTV_DIMENSION = Enum('D3D11_RTV_DIMENSION', [
- 'D3D11_RTV_DIMENSION_UNKNOWN',
- 'D3D11_RTV_DIMENSION_BUFFER',
- 'D3D11_RTV_DIMENSION_TEXTURE1D',
- 'D3D11_RTV_DIMENSION_TEXTURE1DARRAY',
- 'D3D11_RTV_DIMENSION_TEXTURE2D',
- 'D3D11_RTV_DIMENSION_TEXTURE2DARRAY',
- 'D3D11_RTV_DIMENSION_TEXTURE2DMS',
- 'D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY',
- 'D3D11_RTV_DIMENSION_TEXTURE3D',
-])
-
-D3D11_UAV_DIMENSION = Enum('D3D11_UAV_DIMENSION', [
- 'D3D11_UAV_DIMENSION_UNKNOWN',
- 'D3D11_UAV_DIMENSION_BUFFER',
- 'D3D11_UAV_DIMENSION_TEXTURE1D',
- 'D3D11_UAV_DIMENSION_TEXTURE1DARRAY',
- 'D3D11_UAV_DIMENSION_TEXTURE2D',
- 'D3D11_UAV_DIMENSION_TEXTURE2DARRAY',
- 'D3D11_UAV_DIMENSION_TEXTURE3D',
-])
-
-D3D11_USAGE = Enum('D3D11_USAGE', [
- 'D3D11_USAGE_DEFAULT',
- 'D3D11_USAGE_IMMUTABLE',
- 'D3D11_USAGE_DYNAMIC',
- 'D3D11_USAGE_STAGING',
+ "D3D11_APPEND_ALIGNED_ELEMENT",
+])
+
+D3D11_INPUT_ELEMENT_DESC = Struct("D3D11_INPUT_ELEMENT_DESC", [
+ (LPCSTR, "SemanticName"),
+ (UINT, "SemanticIndex"),
+ (DXGI_FORMAT, "Format"),
+ (UINT, "InputSlot"),
+ (D3D11_INPUT_ELEMENT_ALIGNED_BYTE_OFFSET, "AlignedByteOffset"),
+ (D3D11_INPUT_CLASSIFICATION, "InputSlotClass"),
+ (UINT, "InstanceDataStepRate"),
+])
+
+D3D11_FILL_MODE = Enum("D3D11_FILL_MODE", [
+ "D3D11_FILL_WIREFRAME",
+ "D3D11_FILL_SOLID",
+])
+
+D3D11_PRIMITIVE_TOPOLOGY = Enum("D3D11_PRIMITIVE_TOPOLOGY", [
+ "D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED",
+ "D3D11_PRIMITIVE_TOPOLOGY_POINTLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_LINELIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP",
+ "D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP",
+ "D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ",
+ "D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ",
+ "D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ",
+ "D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ",
+ "D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST",
+ "D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST",
+])
+
+D3D11_PRIMITIVE = Enum("D3D11_PRIMITIVE", [
+ "D3D11_PRIMITIVE_UNDEFINED",
+ "D3D11_PRIMITIVE_POINT",
+ "D3D11_PRIMITIVE_LINE",
+ "D3D11_PRIMITIVE_TRIANGLE",
+ "D3D11_PRIMITIVE_LINE_ADJ",
+ "D3D11_PRIMITIVE_TRIANGLE_ADJ",
+ "D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH",
+ "D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH",
+])
+
+D3D11_CULL_MODE = Enum("D3D11_CULL_MODE", [
+ "D3D11_CULL_NONE",
+ "D3D11_CULL_FRONT",
+ "D3D11_CULL_BACK",
+])
+
+D3D11_SO_DECLARATION_ENTRY = Struct("D3D11_SO_DECLARATION_ENTRY", [
+ (UINT, "Stream"),
+ (LPCSTR, "SemanticName"),
+ (UINT, "SemanticIndex"),
+ (BYTE, "StartComponent"),
+ (BYTE, "ComponentCount"),
+ (BYTE, "OutputSlot"),
+])
+
+D3D11_VIEWPORT = Struct("D3D11_VIEWPORT", [
+ (FLOAT, "TopLeftX"),
+ (FLOAT, "TopLeftY"),
+ (FLOAT, "Width"),
+ (FLOAT, "Height"),
+ (FLOAT, "MinDepth"),
+ (FLOAT, "MaxDepth"),
+])
+
+D3D11_RESOURCE_DIMENSION = Enum("D3D11_RESOURCE_DIMENSION", [
+ "D3D11_RESOURCE_DIMENSION_UNKNOWN",
+ "D3D11_RESOURCE_DIMENSION_BUFFER",
+ "D3D11_RESOURCE_DIMENSION_TEXTURE1D",
+ "D3D11_RESOURCE_DIMENSION_TEXTURE2D",
+ "D3D11_RESOURCE_DIMENSION_TEXTURE3D",
+])
+
+D3D11_SRV_DIMENSION = Enum("D3D11_SRV_DIMENSION", [
+ "D3D11_SRV_DIMENSION_UNKNOWN",
+ "D3D11_SRV_DIMENSION_BUFFER",
+ "D3D11_SRV_DIMENSION_TEXTURE1D",
+ "D3D11_SRV_DIMENSION_TEXTURE1DARRAY",
+ "D3D11_SRV_DIMENSION_TEXTURE2D",
+ "D3D11_SRV_DIMENSION_TEXTURE2DARRAY",
+ "D3D11_SRV_DIMENSION_TEXTURE2DMS",
+ "D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY",
+ "D3D11_SRV_DIMENSION_TEXTURE3D",
+ "D3D11_SRV_DIMENSION_TEXTURECUBE",
+ "D3D11_SRV_DIMENSION_TEXTURECUBEARRAY",
+ "D3D11_SRV_DIMENSION_BUFFEREX",
+])
+
+D3D11_DSV_DIMENSION = Enum("D3D11_DSV_DIMENSION", [
+ "D3D11_DSV_DIMENSION_UNKNOWN",
+ "D3D11_DSV_DIMENSION_TEXTURE1D",
+ "D3D11_DSV_DIMENSION_TEXTURE1DARRAY",
+ "D3D11_DSV_DIMENSION_TEXTURE2D",
+ "D3D11_DSV_DIMENSION_TEXTURE2DARRAY",
+ "D3D11_DSV_DIMENSION_TEXTURE2DMS",
+ "D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY",
+])
+
+D3D11_RTV_DIMENSION = Enum("D3D11_RTV_DIMENSION", [
+ "D3D11_RTV_DIMENSION_UNKNOWN",
+ "D3D11_RTV_DIMENSION_BUFFER",
+ "D3D11_RTV_DIMENSION_TEXTURE1D",
+ "D3D11_RTV_DIMENSION_TEXTURE1DARRAY",
+ "D3D11_RTV_DIMENSION_TEXTURE2D",
+ "D3D11_RTV_DIMENSION_TEXTURE2DARRAY",
+ "D3D11_RTV_DIMENSION_TEXTURE2DMS",
+ "D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY",
+ "D3D11_RTV_DIMENSION_TEXTURE3D",
+])
+
+D3D11_UAV_DIMENSION = Enum("D3D11_UAV_DIMENSION", [
+ "D3D11_UAV_DIMENSION_UNKNOWN",
+ "D3D11_UAV_DIMENSION_BUFFER",
+ "D3D11_UAV_DIMENSION_TEXTURE1D",
+ "D3D11_UAV_DIMENSION_TEXTURE1DARRAY",
+ "D3D11_UAV_DIMENSION_TEXTURE2D",
+ "D3D11_UAV_DIMENSION_TEXTURE2DARRAY",
+ "D3D11_UAV_DIMENSION_TEXTURE3D",
+])
+
+D3D11_USAGE = Enum("D3D11_USAGE", [
+ "D3D11_USAGE_DEFAULT",
+ "D3D11_USAGE_IMMUTABLE",
+ "D3D11_USAGE_DYNAMIC",
+ "D3D11_USAGE_STAGING",
- StdMethod(Void, 'VSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'PSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'PSSetShader', [(ObjPointer(ID3D11PixelShader), 'pPixelShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'PSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'VSSetShader', [(ObjPointer(ID3D11VertexShader), 'pVertexShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'DrawIndexed', [(UINT, 'IndexCount'), (UINT, 'StartIndexLocation'), (INT, 'BaseVertexLocation')]),
- StdMethod(Void, 'Draw', [(UINT, 'VertexCount'), (UINT, 'StartVertexLocation')]),
- StdMethod(HRESULT, 'Map', [(ObjPointer(ID3D11Resource), 'pResource'), (UINT, 'Subresource'), (D3D11_MAP, 'MapType'), (D3D11_MAP_FLAG, 'MapFlags'), Out(Pointer(D3D11_MAPPED_SUBRESOURCE), 'pMappedResource')]),
- StdMethod(Void, 'Unmap', [(ObjPointer(ID3D11Resource), 'pResource'), (UINT, 'Subresource')]),
- StdMethod(Void, 'PSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'IASetInputLayout', [(ObjPointer(ID3D11InputLayout), 'pInputLayout')]),
- StdMethod(Void, 'IASetVertexBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppVertexBuffers'), (Pointer(Const(UINT)), 'pStrides'), (Pointer(Const(UINT)), 'pOffsets')]),
- StdMethod(Void, 'IASetIndexBuffer', [(ObjPointer(ID3D11Buffer), 'pIndexBuffer'), (DXGI_FORMAT, 'Format'), (UINT, 'Offset')]),
- StdMethod(Void, 'DrawIndexedInstanced', [(UINT, 'IndexCountPerInstance'), (UINT, 'InstanceCount'), (UINT, 'StartIndexLocation'), (INT, 'BaseVertexLocation'), (UINT, 'StartInstanceLocation')]),
- StdMethod(Void, 'DrawInstanced', [(UINT, 'VertexCountPerInstance'), (UINT, 'InstanceCount'), (UINT, 'StartVertexLocation'), (UINT, 'StartInstanceLocation')]),
- StdMethod(Void, 'GSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'GSSetShader', [(ObjPointer(ID3D11GeometryShader), 'pShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'IASetPrimitiveTopology', [(D3D11_PRIMITIVE_TOPOLOGY, 'Topology')]),
- StdMethod(Void, 'VSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'VSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'Begin', [(ObjPointer(ID3D11Asynchronous), 'pAsync')]),
- StdMethod(Void, 'End', [(ObjPointer(ID3D11Asynchronous), 'pAsync')]),
- StdMethod(HRESULT, 'GetData', [(ObjPointer(ID3D11Asynchronous), 'pAsync'), Out(OpaqueBlob(Void, 'DataSize'), 'pData'), (UINT, 'DataSize'), (D3D11_ASYNC_GETDATA_FLAG, 'GetDataFlags')]),
- StdMethod(Void, 'SetPredication', [(ObjPointer(ID3D11Predicate), 'pPredicate'), (BOOL, 'PredicateValue')]),
- StdMethod(Void, 'GSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'GSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'OMSetRenderTargets', [(UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11RenderTargetView)), 'NumViews'), 'ppRenderTargetViews'), (ObjPointer(ID3D11DepthStencilView), 'pDepthStencilView')]),
- StdMethod(Void, 'OMSetRenderTargetsAndUnorderedAccessViews', [(UINT, 'NumRTVs'), (Array(Const(ObjPointer(ID3D11RenderTargetView)), 'NumRTVs'), 'ppRenderTargetViews'), (ObjPointer(ID3D11DepthStencilView), 'pDepthStencilView'), (UINT, 'UAVStartSlot'), (UINT, 'NumUAVs'), (Array(Const(ObjPointer(ID3D11UnorderedAccessView)), 'NumUAVs'), 'ppUnorderedAccessViews'), (Pointer(Const(UINT)), 'pUAVInitialCounts')]),
- StdMethod(Void, 'OMSetBlendState', [(ObjPointer(ID3D11BlendState), 'pBlendState'), (Array(Const(FLOAT), 4), 'BlendFactor'), (UINT, 'SampleMask')]),
- StdMethod(Void, 'OMSetDepthStencilState', [(ObjPointer(ID3D11DepthStencilState), 'pDepthStencilState'), (UINT, 'StencilRef')]),
- StdMethod(Void, 'SOSetTargets', [(UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppSOTargets'), (Pointer(Const(UINT)), 'pOffsets')]),
- StdMethod(Void, 'DrawAuto', []),
- StdMethod(Void, 'DrawIndexedInstancedIndirect', [(ObjPointer(ID3D11Buffer), 'pBufferForArgs'), (UINT, 'AlignedByteOffsetForArgs')]),
- StdMethod(Void, 'DrawInstancedIndirect', [(ObjPointer(ID3D11Buffer), 'pBufferForArgs'), (UINT, 'AlignedByteOffsetForArgs')]),
- StdMethod(Void, 'Dispatch', [(UINT, 'ThreadGroupCountX'), (UINT, 'ThreadGroupCountY'), (UINT, 'ThreadGroupCountZ')]),
- StdMethod(Void, 'DispatchIndirect', [(ObjPointer(ID3D11Buffer), 'pBufferForArgs'), (UINT, 'AlignedByteOffsetForArgs')]),
- StdMethod(Void, 'RSSetState', [(ObjPointer(ID3D11RasterizerState), 'pRasterizerState')]),
- StdMethod(Void, 'RSSetViewports', [(UINT, 'NumViewports'), (Array(Const(D3D11_VIEWPORT), 'NumViewports'), 'pViewports')]),
- StdMethod(Void, 'RSSetScissorRects', [(UINT, 'NumRects'), (Array(Const(D3D11_RECT), 'NumRects'), 'pRects')]),
- StdMethod(Void, 'CopySubresourceRegion', [(ObjPointer(ID3D11Resource), 'pDstResource'), (UINT, 'DstSubresource'), (UINT, 'DstX'), (UINT, 'DstY'), (UINT, 'DstZ'), (ObjPointer(ID3D11Resource), 'pSrcResource'), (UINT, 'SrcSubresource'), (Pointer(Const(D3D11_BOX)), 'pSrcBox')]),
- StdMethod(Void, 'CopyResource', [(ObjPointer(ID3D11Resource), 'pDstResource'), (ObjPointer(ID3D11Resource), 'pSrcResource')]),
- StdMethod(Void, 'UpdateSubresource', [(ObjPointer(ID3D11Resource), 'pDstResource'), (UINT, 'DstSubresource'), (Pointer(Const(D3D11_BOX)), 'pDstBox'), (OpaquePointer(Const(Void)), 'pSrcData'), (UINT, 'SrcRowPitch'), (UINT, 'SrcDepthPitch')]),
- StdMethod(Void, 'CopyStructureCount', [(ObjPointer(ID3D11Buffer), 'pDstBuffer'), (UINT, 'DstAlignedByteOffset'), (ObjPointer(ID3D11UnorderedAccessView), 'pSrcView')]),
- StdMethod(Void, 'ClearRenderTargetView', [(ObjPointer(ID3D11RenderTargetView), 'pRenderTargetView'), (Array(Const(FLOAT), 4), 'ColorRGBA')]),
- StdMethod(Void, 'ClearUnorderedAccessViewUint', [(ObjPointer(ID3D11UnorderedAccessView), 'pUnorderedAccessView'), (Array(Const(UINT), 4), 'Values')]),
- StdMethod(Void, 'ClearUnorderedAccessViewFloat', [(ObjPointer(ID3D11UnorderedAccessView), 'pUnorderedAccessView'), (Array(Const(FLOAT), 4), 'Values')]),
- StdMethod(Void, 'ClearDepthStencilView', [(ObjPointer(ID3D11DepthStencilView), 'pDepthStencilView'), (D3D11_CLEAR_FLAG, 'ClearFlags'), (FLOAT, 'Depth'), (UINT8, 'Stencil')]),
- StdMethod(Void, 'GenerateMips', [(ObjPointer(ID3D11ShaderResourceView), 'pShaderResourceView')]),
- StdMethod(Void, 'SetResourceMinLOD', [(ObjPointer(ID3D11Resource), 'pResource'), (FLOAT, 'MinLOD')]),
- StdMethod(FLOAT, 'GetResourceMinLOD', [(ObjPointer(ID3D11Resource), 'pResource')]),
- StdMethod(Void, 'ResolveSubresource', [(ObjPointer(ID3D11Resource), 'pDstResource'), (UINT, 'DstSubresource'), (ObjPointer(ID3D11Resource), 'pSrcResource'), (UINT, 'SrcSubresource'), (DXGI_FORMAT, 'Format')]),
- StdMethod(Void, 'ExecuteCommandList', [(ObjPointer(ID3D11CommandList), 'pCommandList'), (BOOL, 'RestoreContextState')]),
- StdMethod(Void, 'HSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'HSSetShader', [(ObjPointer(ID3D11HullShader), 'pHullShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'HSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'HSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'DSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'DSSetShader', [(ObjPointer(ID3D11DomainShader), 'pDomainShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'DSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'DSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'CSSetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'CSSetUnorderedAccessViews', [(UINT, 'StartSlot'), (UINT, 'NumUAVs'), (Array(Const(ObjPointer(ID3D11UnorderedAccessView)), 'NumUAVs'), 'ppUnorderedAccessViews'), (Pointer(Const(UINT)), 'pUAVInitialCounts')]),
- StdMethod(Void, 'CSSetShader', [(ObjPointer(ID3D11ComputeShader), 'pComputeShader'), (Array(Const(ObjPointer(ID3D11ClassInstance)), 'NumClassInstances'), 'ppClassInstances'), (UINT, 'NumClassInstances')]),
- StdMethod(Void, 'CSSetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(Const(ObjPointer(ID3D11SamplerState)), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'CSSetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(Const(ObjPointer(ID3D11Buffer)), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'VSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'PSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'PSGetShader', [Out(Pointer(ObjPointer(ID3D11PixelShader)), 'ppPixelShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'PSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'VSGetShader', [Out(Pointer(ObjPointer(ID3D11VertexShader)), 'ppVertexShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'PSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'IAGetInputLayout', [Out(Pointer(ObjPointer(ID3D11InputLayout)), 'ppInputLayout')]),
- StdMethod(Void, 'IAGetVertexBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppVertexBuffers'), Out(Pointer(UINT), 'pStrides'), Out(Pointer(UINT), 'pOffsets')]),
- StdMethod(Void, 'IAGetIndexBuffer', [Out(Pointer(ObjPointer(ID3D11Buffer)), 'pIndexBuffer'), Out(Pointer(DXGI_FORMAT), 'Format'), Out(Pointer(UINT), 'Offset')]),
- StdMethod(Void, 'GSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'GSGetShader', [Out(Pointer(ObjPointer(ID3D11GeometryShader)), 'ppGeometryShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'IAGetPrimitiveTopology', [Out(Pointer(D3D11_PRIMITIVE_TOPOLOGY), 'pTopology')]),
- StdMethod(Void, 'VSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'VSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'GetPredication', [Out(Pointer(ObjPointer(ID3D11Predicate)), 'ppPredicate'), Out(Pointer(BOOL), 'pPredicateValue')]),
- StdMethod(Void, 'GSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'GSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'OMGetRenderTargets', [(UINT, 'NumViews'), (Array(ObjPointer(ID3D11RenderTargetView), 'NumViews'), 'ppRenderTargetViews'), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), 'ppDepthStencilView')]),
- StdMethod(Void, 'OMGetRenderTargetsAndUnorderedAccessViews', [(UINT, 'NumRTVs'), (Array(ObjPointer(ID3D11RenderTargetView), 'NumRTVs'), 'ppRenderTargetViews'), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), 'ppDepthStencilView'), (UINT, 'UAVStartSlot'), (UINT, 'NumUAVs'), (Array(ObjPointer(ID3D11UnorderedAccessView), 'NumUAVs'), 'ppUnorderedAccessViews')]),
- StdMethod(Void, 'OMGetBlendState', [Out(Pointer(ObjPointer(ID3D11BlendState)), 'ppBlendState'), Out(Array(FLOAT, 4), 'BlendFactor'), Out(Pointer(UINT), 'pSampleMask')]),
- StdMethod(Void, 'OMGetDepthStencilState', [Out(Pointer(ObjPointer(ID3D11DepthStencilState)), 'ppDepthStencilState'), Out(Pointer(UINT), 'pStencilRef')]),
- StdMethod(Void, 'SOGetTargets', [(UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppSOTargets')]),
- StdMethod(Void, 'RSGetState', [Out(Pointer(ObjPointer(ID3D11RasterizerState)), 'ppRasterizerState')]),
- StdMethod(Void, 'RSGetViewports', [Out(Pointer(UINT), 'pNumViewports'), Out(Array(D3D11_VIEWPORT, '*pNumViewports'), 'pViewports')]),
- StdMethod(Void, 'RSGetScissorRects', [Out(Pointer(UINT), 'pNumRects'), Out(Array(D3D11_RECT, '*pNumRects'), 'pRects')]),
- StdMethod(Void, 'HSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'HSGetShader', [Out(Pointer(ObjPointer(ID3D11HullShader)), 'ppHullShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'HSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'HSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'DSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'DSGetShader', [Out(Pointer(ObjPointer(ID3D11DomainShader)), 'ppDomainShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'DSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'DSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'CSGetShaderResources', [(UINT, 'StartSlot'), (UINT, 'NumViews'), (Array(ObjPointer(ID3D11ShaderResourceView), 'NumViews'), 'ppShaderResourceViews')]),
- StdMethod(Void, 'CSGetUnorderedAccessViews', [(UINT, 'StartSlot'), (UINT, 'NumUAVs'), (Array(ObjPointer(ID3D11UnorderedAccessView), 'NumUAVs'), 'ppUnorderedAccessViews')]),
- StdMethod(Void, 'CSGetShader', [Out(Pointer(ObjPointer(ID3D11ComputeShader)), 'ppComputeShader'), Out(Array(ObjPointer(ID3D11ClassInstance), '*pNumClassInstances'), 'ppClassInstances'), Out(Pointer(UINT), 'pNumClassInstances')]),
- StdMethod(Void, 'CSGetSamplers', [(UINT, 'StartSlot'), (UINT, 'NumSamplers'), (Array(ObjPointer(ID3D11SamplerState), 'NumSamplers'), 'ppSamplers')]),
- StdMethod(Void, 'CSGetConstantBuffers', [(UINT, 'StartSlot'), (UINT, 'NumBuffers'), (Array(ObjPointer(ID3D11Buffer), 'NumBuffers'), 'ppConstantBuffers')]),
- StdMethod(Void, 'ClearState', []),
- StdMethod(Void, 'Flush', []),
- StdMethod(D3D11_DEVICE_CONTEXT_TYPE, 'GetType', []),
- StdMethod(UINT, 'GetContextFlags', []),
- StdMethod(HRESULT, 'FinishCommandList', [(BOOL, 'RestoreDeferredContextState'), Out(Pointer(ObjPointer(ID3D11CommandList)), 'ppCommandList')]),
+ StdMethod(Void, "VSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "PSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "PSSetShader", [(ObjPointer(ID3D11PixelShader), "pPixelShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "PSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "VSSetShader", [(ObjPointer(ID3D11VertexShader), "pVertexShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "DrawIndexed", [(UINT, "IndexCount"), (UINT, "StartIndexLocation"), (INT, "BaseVertexLocation")]),
+ StdMethod(Void, "Draw", [(UINT, "VertexCount"), (UINT, "StartVertexLocation")]),
+ StdMethod(HRESULT, "Map", [(ObjPointer(ID3D11Resource), "pResource"), (UINT, "Subresource"), (D3D11_MAP, "MapType"), (D3D11_MAP_FLAG, "MapFlags"), Out(Pointer(D3D11_MAPPED_SUBRESOURCE), "pMappedResource")]),
+ StdMethod(Void, "Unmap", [(ObjPointer(ID3D11Resource), "pResource"), (UINT, "Subresource")]),
+ StdMethod(Void, "PSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "IASetInputLayout", [(ObjPointer(ID3D11InputLayout), "pInputLayout")]),
+ StdMethod(Void, "IASetVertexBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppVertexBuffers"), (Pointer(Const(UINT)), "pStrides"), (Pointer(Const(UINT)), "pOffsets")]),
+ StdMethod(Void, "IASetIndexBuffer", [(ObjPointer(ID3D11Buffer), "pIndexBuffer"), (DXGI_FORMAT, "Format"), (UINT, "Offset")]),
+ StdMethod(Void, "DrawIndexedInstanced", [(UINT, "IndexCountPerInstance"), (UINT, "InstanceCount"), (UINT, "StartIndexLocation"), (INT, "BaseVertexLocation"), (UINT, "StartInstanceLocation")]),
+ StdMethod(Void, "DrawInstanced", [(UINT, "VertexCountPerInstance"), (UINT, "InstanceCount"), (UINT, "StartVertexLocation"), (UINT, "StartInstanceLocation")]),
+ StdMethod(Void, "GSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "GSSetShader", [(ObjPointer(ID3D11GeometryShader), "pShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "IASetPrimitiveTopology", [(D3D11_PRIMITIVE_TOPOLOGY, "Topology")]),
+ StdMethod(Void, "VSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "VSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "Begin", [(ObjPointer(ID3D11Asynchronous), "pAsync")]),
+ StdMethod(Void, "End", [(ObjPointer(ID3D11Asynchronous), "pAsync")]),
+ StdMethod(HRESULT, "GetData", [(ObjPointer(ID3D11Asynchronous), "pAsync"), Out(OpaqueBlob(Void, "DataSize"), "pData"), (UINT, "DataSize"), (D3D11_ASYNC_GETDATA_FLAG, "GetDataFlags")]),
+ StdMethod(Void, "SetPredication", [(ObjPointer(ID3D11Predicate), "pPredicate"), (BOOL, "PredicateValue")]),
+ StdMethod(Void, "GSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "GSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "OMSetRenderTargets", [(UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11RenderTargetView)), "NumViews"), "ppRenderTargetViews"), (ObjPointer(ID3D11DepthStencilView), "pDepthStencilView")]),
+ StdMethod(Void, "OMSetRenderTargetsAndUnorderedAccessViews", [(UINT, "NumRTVs"), (Array(Const(ObjPointer(ID3D11RenderTargetView)), "NumRTVs"), "ppRenderTargetViews"), (ObjPointer(ID3D11DepthStencilView), "pDepthStencilView"), (UINT, "UAVStartSlot"), (UINT, "NumUAVs"), (Array(Const(ObjPointer(ID3D11UnorderedAccessView)), "NumUAVs"), "ppUnorderedAccessViews"), (Pointer(Const(UINT)), "pUAVInitialCounts")]),
+ StdMethod(Void, "OMSetBlendState", [(ObjPointer(ID3D11BlendState), "pBlendState"), (Array(Const(FLOAT), 4), "BlendFactor"), (UINT, "SampleMask")]),
+ StdMethod(Void, "OMSetDepthStencilState", [(ObjPointer(ID3D11DepthStencilState), "pDepthStencilState"), (UINT, "StencilRef")]),
+ StdMethod(Void, "SOSetTargets", [(UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppSOTargets"), (Pointer(Const(UINT)), "pOffsets")]),
+ StdMethod(Void, "DrawAuto", []),
+ StdMethod(Void, "DrawIndexedInstancedIndirect", [(ObjPointer(ID3D11Buffer), "pBufferForArgs"), (UINT, "AlignedByteOffsetForArgs")]),
+ StdMethod(Void, "DrawInstancedIndirect", [(ObjPointer(ID3D11Buffer), "pBufferForArgs"), (UINT, "AlignedByteOffsetForArgs")]),
+ StdMethod(Void, "Dispatch", [(UINT, "ThreadGroupCountX"), (UINT, "ThreadGroupCountY"), (UINT, "ThreadGroupCountZ")]),
+ StdMethod(Void, "DispatchIndirect", [(ObjPointer(ID3D11Buffer), "pBufferForArgs"), (UINT, "AlignedByteOffsetForArgs")]),
+ StdMethod(Void, "RSSetState", [(ObjPointer(ID3D11RasterizerState), "pRasterizerState")]),
+ StdMethod(Void, "RSSetViewports", [(UINT, "NumViewports"), (Array(Const(D3D11_VIEWPORT), "NumViewports"), "pViewports")]),
+ StdMethod(Void, "RSSetScissorRects", [(UINT, "NumRects"), (Array(Const(D3D11_RECT), "NumRects"), "pRects")]),
+ StdMethod(Void, "CopySubresourceRegion", [(ObjPointer(ID3D11Resource), "pDstResource"), (UINT, "DstSubresource"), (UINT, "DstX"), (UINT, "DstY"), (UINT, "DstZ"), (ObjPointer(ID3D11Resource), "pSrcResource"), (UINT, "SrcSubresource"), (Pointer(Const(D3D11_BOX)), "pSrcBox")]),
+ StdMethod(Void, "CopyResource", [(ObjPointer(ID3D11Resource), "pDstResource"), (ObjPointer(ID3D11Resource), "pSrcResource")]),
+ StdMethod(Void, "UpdateSubresource", [(ObjPointer(ID3D11Resource), "pDstResource"), (UINT, "DstSubresource"), (Pointer(Const(D3D11_BOX)), "pDstBox"), (OpaquePointer(Const(Void)), "pSrcData"), (UINT, "SrcRowPitch"), (UINT, "SrcDepthPitch")]),
+ StdMethod(Void, "CopyStructureCount", [(ObjPointer(ID3D11Buffer), "pDstBuffer"), (UINT, "DstAlignedByteOffset"), (ObjPointer(ID3D11UnorderedAccessView), "pSrcView")]),
+ StdMethod(Void, "ClearRenderTargetView", [(ObjPointer(ID3D11RenderTargetView), "pRenderTargetView"), (Array(Const(FLOAT), 4), "ColorRGBA")]),
+ StdMethod(Void, "ClearUnorderedAccessViewUint", [(ObjPointer(ID3D11UnorderedAccessView), "pUnorderedAccessView"), (Array(Const(UINT), 4), "Values")]),
+ StdMethod(Void, "ClearUnorderedAccessViewFloat", [(ObjPointer(ID3D11UnorderedAccessView), "pUnorderedAccessView"), (Array(Const(FLOAT), 4), "Values")]),
+ StdMethod(Void, "ClearDepthStencilView", [(ObjPointer(ID3D11DepthStencilView), "pDepthStencilView"), (D3D11_CLEAR_FLAG, "ClearFlags"), (FLOAT, "Depth"), (UINT8, "Stencil")]),
+ StdMethod(Void, "GenerateMips", [(ObjPointer(ID3D11ShaderResourceView), "pShaderResourceView")]),
+ StdMethod(Void, "SetResourceMinLOD", [(ObjPointer(ID3D11Resource), "pResource"), (FLOAT, "MinLOD")]),
+ StdMethod(FLOAT, "GetResourceMinLOD", [(ObjPointer(ID3D11Resource), "pResource")]),
+ StdMethod(Void, "ResolveSubresource", [(ObjPointer(ID3D11Resource), "pDstResource"), (UINT, "DstSubresource"), (ObjPointer(ID3D11Resource), "pSrcResource"), (UINT, "SrcSubresource"), (DXGI_FORMAT, "Format")]),
+ StdMethod(Void, "ExecuteCommandList", [(ObjPointer(ID3D11CommandList), "pCommandList"), (BOOL, "RestoreContextState")]),
+ StdMethod(Void, "HSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "HSSetShader", [(ObjPointer(ID3D11HullShader), "pHullShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "HSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "HSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "DSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "DSSetShader", [(ObjPointer(ID3D11DomainShader), "pDomainShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "DSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "DSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "CSSetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(Const(ObjPointer(ID3D11ShaderResourceView)), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "CSSetUnorderedAccessViews", [(UINT, "StartSlot"), (UINT, "NumUAVs"), (Array(Const(ObjPointer(ID3D11UnorderedAccessView)), "NumUAVs"), "ppUnorderedAccessViews"), (Pointer(Const(UINT)), "pUAVInitialCounts")]),
+ StdMethod(Void, "CSSetShader", [(ObjPointer(ID3D11ComputeShader), "pComputeShader"), (Array(Const(ObjPointer(ID3D11ClassInstance)), "NumClassInstances"), "ppClassInstances"), (UINT, "NumClassInstances")]),
+ StdMethod(Void, "CSSetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(Const(ObjPointer(ID3D11SamplerState)), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "CSSetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(Const(ObjPointer(ID3D11Buffer)), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "VSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "PSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "PSGetShader", [Out(Pointer(ObjPointer(ID3D11PixelShader)), "ppPixelShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "PSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "VSGetShader", [Out(Pointer(ObjPointer(ID3D11VertexShader)), "ppVertexShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "PSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "IAGetInputLayout", [Out(Pointer(ObjPointer(ID3D11InputLayout)), "ppInputLayout")]),
+ StdMethod(Void, "IAGetVertexBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppVertexBuffers"), Out(Pointer(UINT), "pStrides"), Out(Pointer(UINT), "pOffsets")]),
+ StdMethod(Void, "IAGetIndexBuffer", [Out(Pointer(ObjPointer(ID3D11Buffer)), "pIndexBuffer"), Out(Pointer(DXGI_FORMAT), "Format"), Out(Pointer(UINT), "Offset")]),
+ StdMethod(Void, "GSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "GSGetShader", [Out(Pointer(ObjPointer(ID3D11GeometryShader)), "ppGeometryShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "IAGetPrimitiveTopology", [Out(Pointer(D3D11_PRIMITIVE_TOPOLOGY), "pTopology")]),
+ StdMethod(Void, "VSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "VSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "GetPredication", [Out(Pointer(ObjPointer(ID3D11Predicate)), "ppPredicate"), Out(Pointer(BOOL), "pPredicateValue")]),
+ StdMethod(Void, "GSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "GSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "OMGetRenderTargets", [(UINT, "NumViews"), (Array(ObjPointer(ID3D11RenderTargetView), "NumViews"), "ppRenderTargetViews"), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), "ppDepthStencilView")]),
+ StdMethod(Void, "OMGetRenderTargetsAndUnorderedAccessViews", [(UINT, "NumRTVs"), (Array(ObjPointer(ID3D11RenderTargetView), "NumRTVs"), "ppRenderTargetViews"), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), "ppDepthStencilView"), (UINT, "UAVStartSlot"), (UINT, "NumUAVs"), (Array(ObjPointer(ID3D11UnorderedAccessView), "NumUAVs"), "ppUnorderedAccessViews")]),
+ StdMethod(Void, "OMGetBlendState", [Out(Pointer(ObjPointer(ID3D11BlendState)), "ppBlendState"), Out(Array(FLOAT, 4), "BlendFactor"), Out(Pointer(UINT), "pSampleMask")]),
+ StdMethod(Void, "OMGetDepthStencilState", [Out(Pointer(ObjPointer(ID3D11DepthStencilState)), "ppDepthStencilState"), Out(Pointer(UINT), "pStencilRef")]),
+ StdMethod(Void, "SOGetTargets", [(UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppSOTargets")]),
+ StdMethod(Void, "RSGetState", [Out(Pointer(ObjPointer(ID3D11RasterizerState)), "ppRasterizerState")]),
+ StdMethod(Void, "RSGetViewports", [Out(Pointer(UINT), "pNumViewports"), Out(Array(D3D11_VIEWPORT, "*pNumViewports"), "pViewports")]),
+ StdMethod(Void, "RSGetScissorRects", [Out(Pointer(UINT), "pNumRects"), Out(Array(D3D11_RECT, "*pNumRects"), "pRects")]),
+ StdMethod(Void, "HSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "HSGetShader", [Out(Pointer(ObjPointer(ID3D11HullShader)), "ppHullShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "HSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "HSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "DSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "DSGetShader", [Out(Pointer(ObjPointer(ID3D11DomainShader)), "ppDomainShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "DSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "DSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "CSGetShaderResources", [(UINT, "StartSlot"), (UINT, "NumViews"), (Array(ObjPointer(ID3D11ShaderResourceView), "NumViews"), "ppShaderResourceViews")]),
+ StdMethod(Void, "CSGetUnorderedAccessViews", [(UINT, "StartSlot"), (UINT, "NumUAVs"), (Array(ObjPointer(ID3D11UnorderedAccessView), "NumUAVs"), "ppUnorderedAccessViews")]),
+ StdMethod(Void, "CSGetShader", [Out(Pointer(ObjPointer(ID3D11ComputeShader)), "ppComputeShader"), Out(Array(ObjPointer(ID3D11ClassInstance), "*pNumClassInstances"), "ppClassInstances"), Out(Pointer(UINT), "pNumClassInstances")]),
+ StdMethod(Void, "CSGetSamplers", [(UINT, "StartSlot"), (UINT, "NumSamplers"), (Array(ObjPointer(ID3D11SamplerState), "NumSamplers"), "ppSamplers")]),
+ StdMethod(Void, "CSGetConstantBuffers", [(UINT, "StartSlot"), (UINT, "NumBuffers"), (Array(ObjPointer(ID3D11Buffer), "NumBuffers"), "ppConstantBuffers")]),
+ StdMethod(Void, "ClearState", []),
+ StdMethod(Void, "Flush", []),
+ StdMethod(D3D11_DEVICE_CONTEXT_TYPE, "GetType", []),
+ StdMethod(UINT, "GetContextFlags", []),
+ StdMethod(HRESULT, "FinishCommandList", [(BOOL, "RestoreDeferredContextState"), Out(Pointer(ObjPointer(ID3D11CommandList)), "ppCommandList")]),
- StdMethod(HRESULT, 'CreateBuffer', [(Pointer(Const(D3D11_BUFFER_DESC)), 'pDesc'), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), 'pInitialData'), Out(Pointer(ObjPointer(ID3D11Buffer)), 'ppBuffer')]),
- StdMethod(HRESULT, 'CreateTexture1D', [(Pointer(Const(D3D11_TEXTURE1D_DESC)), 'pDesc'), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), 'pInitialData'), Out(Pointer(ObjPointer(ID3D11Texture1D)), 'ppTexture1D')]),
- StdMethod(HRESULT, 'CreateTexture2D', [(Pointer(Const(D3D11_TEXTURE2D_DESC)), 'pDesc'), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), 'pInitialData'), Out(Pointer(ObjPointer(ID3D11Texture2D)), 'ppTexture2D')]),
- StdMethod(HRESULT, 'CreateTexture3D', [(Pointer(Const(D3D11_TEXTURE3D_DESC)), 'pDesc'), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), 'pInitialData'), Out(Pointer(ObjPointer(ID3D11Texture3D)), 'ppTexture3D')]),
- StdMethod(HRESULT, 'CreateShaderResourceView', [(ObjPointer(ID3D11Resource), 'pResource'), (Pointer(Const(D3D11_SHADER_RESOURCE_VIEW_DESC)), 'pDesc'), Out(Pointer(ObjPointer(ID3D11ShaderResourceView)), 'ppSRView')]),
- StdMethod(HRESULT, 'CreateUnorderedAccessView', [(ObjPointer(ID3D11Resource), 'pResource'), (Pointer(Const(D3D11_UNORDERED_ACCESS_VIEW_DESC)), 'pDesc'), Out(Pointer(ObjPointer(ID3D11UnorderedAccessView)), 'ppUAView')]),
- StdMethod(HRESULT, 'CreateRenderTargetView', [(ObjPointer(ID3D11Resource), 'pResource'), (Pointer(Const(D3D11_RENDER_TARGET_VIEW_DESC)), 'pDesc'), Out(Pointer(ObjPointer(ID3D11RenderTargetView)), 'ppRTView')]),
- StdMethod(HRESULT, 'CreateDepthStencilView', [(ObjPointer(ID3D11Resource), 'pResource'), (Pointer(Const(D3D11_DEPTH_STENCIL_VIEW_DESC)), 'pDesc'), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), 'ppDepthStencilView')]),
- StdMethod(HRESULT, 'CreateInputLayout', [(Array(Const(D3D11_INPUT_ELEMENT_DESC), 'NumElements'), 'pInputElementDescs'), (UINT, 'NumElements'), (Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecodeWithInputSignature'), (SIZE_T, 'BytecodeLength'), Out(Pointer(ObjPointer(ID3D11InputLayout)), 'ppInputLayout')]),
- StdMethod(HRESULT, 'CreateVertexShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11VertexShader)), 'ppVertexShader')]),
- StdMethod(HRESULT, 'CreateGeometryShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11GeometryShader)), 'ppGeometryShader')]),
- StdMethod(HRESULT, 'CreateGeometryShaderWithStreamOutput', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (Array(Const(D3D11_SO_DECLARATION_ENTRY), 'NumEntries'), 'pSODeclaration'), (UINT, 'NumEntries'), (Array(Const(UINT), 'NumStrides'), 'pBufferStrides'), (UINT, 'NumStrides'), (UINT, 'RasterizedStream'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11GeometryShader)), 'ppGeometryShader')]),
- StdMethod(HRESULT, 'CreatePixelShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11PixelShader)), 'ppPixelShader')]),
- StdMethod(HRESULT, 'CreateHullShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11HullShader)), 'ppHullShader')]),
- StdMethod(HRESULT, 'CreateDomainShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11DomainShader)), 'ppDomainShader')]),
- StdMethod(HRESULT, 'CreateComputeShader', [(Blob(Const(Void), 'BytecodeLength'), 'pShaderBytecode'), (SIZE_T, 'BytecodeLength'), (ObjPointer(ID3D11ClassLinkage), 'pClassLinkage'), Out(Pointer(ObjPointer(ID3D11ComputeShader)), 'ppComputeShader')]),
- StdMethod(HRESULT, 'CreateClassLinkage', [Out(Pointer(ObjPointer(ID3D11ClassLinkage)), 'ppLinkage')]),
- StdMethod(HRESULT, 'CreateBlendState', [(Pointer(Const(D3D11_BLEND_DESC)), 'pBlendStateDesc'), Out(Pointer(ObjPointer(ID3D11BlendState)), 'ppBlendState')]),
- StdMethod(HRESULT, 'CreateDepthStencilState', [(Pointer(Const(D3D11_DEPTH_STENCIL_DESC)), 'pDepthStencilDesc'), Out(Pointer(ObjPointer(ID3D11DepthStencilState)), 'ppDepthStencilState')]),
- StdMethod(HRESULT, 'CreateRasterizerState', [(Pointer(Const(D3D11_RASTERIZER_DESC)), 'pRasterizerDesc'), Out(Pointer(ObjPointer(ID3D11RasterizerState)), 'ppRasterizerState')]),
- StdMethod(HRESULT, 'CreateSamplerState', [(Pointer(Const(D3D11_SAMPLER_DESC)), 'pSamplerDesc'), Out(Pointer(ObjPointer(ID3D11SamplerState)), 'ppSamplerState')]),
- StdMethod(HRESULT, 'CreateQuery', [(Pointer(Const(D3D11_QUERY_DESC)), 'pQueryDesc'), Out(Pointer(ObjPointer(ID3D11Query)), 'ppQuery')]),
- StdMethod(HRESULT, 'CreatePredicate', [(Pointer(Const(D3D11_QUERY_DESC)), 'pPredicateDesc'), Out(Pointer(ObjPointer(ID3D11Predicate)), 'ppPredicate')]),
- StdMethod(HRESULT, 'CreateCounter', [(Pointer(Const(D3D11_COUNTER_DESC)), 'pCounterDesc'), Out(Pointer(ObjPointer(ID3D11Counter)), 'ppCounter')]),
- StdMethod(HRESULT, 'CreateDeferredContext', [(UINT, 'ContextFlags'), Out(Pointer(ObjPointer(ID3D11DeviceContext)), 'ppDeferredContext')]),
- StdMethod(HRESULT, 'OpenSharedResource', [(HANDLE, 'hResource'), (REFIID, 'ReturnedInterface'), Out(Pointer(ObjPointer(Void)), 'ppResource')]),
- StdMethod(HRESULT, 'CheckFormatSupport', [(DXGI_FORMAT, 'Format'), Out(Pointer(UINT), 'pFormatSupport')]),
- StdMethod(HRESULT, 'CheckMultisampleQualityLevels', [(DXGI_FORMAT, 'Format'), (UINT, 'SampleCount'), Out(Pointer(UINT), 'pNumQualityLevels')]),
- StdMethod(Void, 'CheckCounterInfo', [Out(Pointer(D3D11_COUNTER_INFO), 'pCounterInfo')]),
- StdMethod(HRESULT, 'CheckCounter', [(Pointer(Const(D3D11_COUNTER_DESC)), 'pDesc'), Out(Pointer(D3D11_COUNTER_TYPE), 'pType'), Out(Pointer(UINT), 'pActiveCounters'), Out(LPSTR, 'szName'), Out(Pointer(UINT), 'pNameLength'), Out(LPSTR, 'szUnits'), Out(Pointer(UINT), 'pUnitsLength'), Out(LPSTR, 'szDescription'), Out(Pointer(UINT), 'pDescriptionLength')]),
- StdMethod(HRESULT, 'CheckFeatureSupport', [(D3D11_FEATURE, 'Feature'), Out(OpaqueBlob(Void, 'FeatureSupportDataSize'), 'pFeatureSupportData'), (UINT, 'FeatureSupportDataSize')]),
- StdMethod(HRESULT, 'GetPrivateData', [(REFGUID, 'guid'), Out(Pointer(UINT), 'pDataSize'), Out(OpaquePointer(Void), 'pData')]),
- StdMethod(HRESULT, 'SetPrivateData', [(REFGUID, 'guid'), (UINT, 'DataSize'), (OpaqueBlob(Const(Void), 'DataSize'), 'pData')]),
- StdMethod(HRESULT, 'SetPrivateDataInterface', [(REFGUID, 'guid'), (OpaquePointer(Const(IUnknown)), 'pData')]),
- StdMethod(D3D_FEATURE_LEVEL, 'GetFeatureLevel', []),
- StdMethod(D3D11_CREATE_DEVICE_FLAG, 'GetCreationFlags', []),
- StdMethod(HRESULT, 'GetDeviceRemovedReason', []),
- StdMethod(Void, 'GetImmediateContext', [Out(Pointer(ObjPointer(ID3D11DeviceContext)), 'ppImmediateContext')]),
- StdMethod(HRESULT, 'SetExceptionMode', [(D3D11_RAISE_FLAG, 'RaiseFlags')]),
- StdMethod(UINT, 'GetExceptionMode', []),
+ StdMethod(HRESULT, "CreateBuffer", [(Pointer(Const(D3D11_BUFFER_DESC)), "pDesc"), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), "pInitialData"), Out(Pointer(ObjPointer(ID3D11Buffer)), "ppBuffer")]),
+ StdMethod(HRESULT, "CreateTexture1D", [(Pointer(Const(D3D11_TEXTURE1D_DESC)), "pDesc"), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), "pInitialData"), Out(Pointer(ObjPointer(ID3D11Texture1D)), "ppTexture1D")]),
+ StdMethod(HRESULT, "CreateTexture2D", [(Pointer(Const(D3D11_TEXTURE2D_DESC)), "pDesc"), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), "pInitialData"), Out(Pointer(ObjPointer(ID3D11Texture2D)), "ppTexture2D")]),
+ StdMethod(HRESULT, "CreateTexture3D", [(Pointer(Const(D3D11_TEXTURE3D_DESC)), "pDesc"), (Pointer(Const(D3D11_SUBRESOURCE_DATA)), "pInitialData"), Out(Pointer(ObjPointer(ID3D11Texture3D)), "ppTexture3D")]),
+ StdMethod(HRESULT, "CreateShaderResourceView", [(ObjPointer(ID3D11Resource), "pResource"), (Pointer(Const(D3D11_SHADER_RESOURCE_VIEW_DESC)), "pDesc"), Out(Pointer(ObjPointer(ID3D11ShaderResourceView)), "ppSRView")]),
+ StdMethod(HRESULT, "CreateUnorderedAccessView", [(ObjPointer(ID3D11Resource), "pResource"), (Pointer(Const(D3D11_UNORDERED_ACCESS_VIEW_DESC)), "pDesc"), Out(Pointer(ObjPointer(ID3D11UnorderedAccessView)), "ppUAView")]),
+ StdMethod(HRESULT, "CreateRenderTargetView", [(ObjPointer(ID3D11Resource), "pResource"), (Pointer(Const(D3D11_RENDER_TARGET_VIEW_DESC)), "pDesc"), Out(Pointer(ObjPointer(ID3D11RenderTargetView)), "ppRTView")]),
+ StdMethod(HRESULT, "CreateDepthStencilView", [(ObjPointer(ID3D11Resource), "pResource"), (Pointer(Const(D3D11_DEPTH_STENCIL_VIEW_DESC)), "pDesc"), Out(Pointer(ObjPointer(ID3D11DepthStencilView)), "ppDepthStencilView")]),
+ StdMethod(HRESULT, "CreateInputLayout", [(Array(Const(D3D11_INPUT_ELEMENT_DESC), "NumElements"), "pInputElementDescs"), (UINT, "NumElements"), (Blob(Const(Void), "BytecodeLength"), "pShaderBytecodeWithInputSignature"), (SIZE_T, "BytecodeLength"), Out(Pointer(ObjPointer(ID3D11InputLayout)), "ppInputLayout")]),
+ StdMethod(HRESULT, "CreateVertexShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11VertexShader)), "ppVertexShader")]),
+ StdMethod(HRESULT, "CreateGeometryShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11GeometryShader)), "ppGeometryShader")]),
+ StdMethod(HRESULT, "CreateGeometryShaderWithStreamOutput", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (Array(Const(D3D11_SO_DECLARATION_ENTRY), "NumEntries"), "pSODeclaration"), (UINT, "NumEntries"), (Array(Const(UINT), "NumStrides"), "pBufferStrides"), (UINT, "NumStrides"), (UINT, "RasterizedStream"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11GeometryShader)), "ppGeometryShader")]),
+ StdMethod(HRESULT, "CreatePixelShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11PixelShader)), "ppPixelShader")]),
+ StdMethod(HRESULT, "CreateHullShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11HullShader)), "ppHullShader")]),
+ StdMethod(HRESULT, "CreateDomainShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11DomainShader)), "ppDomainShader")]),
+ StdMethod(HRESULT, "CreateComputeShader", [(Blob(Const(Void), "BytecodeLength"), "pShaderBytecode"), (SIZE_T, "BytecodeLength"), (ObjPointer(ID3D11ClassLinkage), "pClassLinkage"), Out(Pointer(ObjPointer(ID3D11ComputeShader)), "ppComputeShader")]),
+ StdMethod(HRESULT, "CreateClassLinkage", [Out(Pointer(ObjPointer(ID3D11ClassLinkage)), "ppLinkage")]),
+ StdMethod(HRESULT, "CreateBlendState", [(Pointer(Const(D3D11_BLEND_DESC)), "pBlendStateDesc"), Out(Pointer(ObjPointer(ID3D11BlendState)), "ppBlendState")]),
+ StdMethod(HRESULT, "CreateDepthStencilState", [(Pointer(Const(D3D11_DEPTH_STENCIL_DESC)), "pDepthStencilDesc"), Out(Pointer(ObjPointer(ID3D11DepthStencilState)), "ppDepthStencilState")]),
+ StdMethod(HRESULT, "CreateRasterizerState", [(Pointer(Const(D3D11_RASTERIZER_DESC)), "pRasterizerDesc"), Out(Pointer(ObjPointer(ID3D11RasterizerState)), "ppRasterizerState")]),
+ StdMethod(HRESULT, "CreateSamplerState", [(Pointer(Const(D3D11_SAMPLER_DESC)), "pSamplerDesc"), Out(Pointer(ObjPointer(ID3D11SamplerState)), "ppSamplerState")]),
+ StdMethod(HRESULT, "CreateQuery", [(Pointer(Const(D3D11_QUERY_DESC)), "pQueryDesc"), Out(Pointer(ObjPointer(ID3D11Query)), "ppQuery")]),
+ StdMethod(HRESULT, "CreatePredicate", [(Pointer(Const(D3D11_QUERY_DESC)), "pPredicateDesc"), Out(Pointer(ObjPointer(ID3D11Predicate)), "ppPredicate")]),
+ StdMethod(HRESULT, "CreateCounter", [(Pointer(Const(D3D11_COUNTER_DESC)), "pCounterDesc"), Out(Pointer(ObjPointer(ID3D11Counter)), "ppCounter")]),
+ StdMethod(HRESULT, "CreateDeferredContext", [(UINT, "ContextFlags"), Out(Pointer(ObjPointer(ID3D11DeviceContext)), "ppDeferredContext")]),
+ StdMethod(HRESULT, "OpenSharedResource", [(HANDLE, "hResource"), (REFIID, "ReturnedInterface"), Out(Pointer(ObjPointer(Void)), "ppResource")]),
+ StdMethod(HRESULT, "CheckFormatSupport", [(DXGI_FORMAT, "Format"), Out(Pointer(D3D11_FORMAT_SUPPORT), "pFormatSupport")]),
+ StdMethod(HRESULT, "CheckMultisampleQualityLevels", [(DXGI_FORMAT, "Format"), (UINT, "SampleCount"), Out(Pointer(UINT), "pNumQualityLevels")]),
+ StdMethod(Void, "CheckCounterInfo", [Out(Pointer(D3D11_COUNTER_INFO), "pCounterInfo")]),
+ StdMethod(HRESULT, "CheckCounter", [(Pointer(Const(D3D11_COUNTER_DESC)), "pDesc"), Out(Pointer(D3D11_COUNTER_TYPE), "pType"), Out(Pointer(UINT), "pActiveCounters"), Out(LPSTR, "szName"), Out(Pointer(UINT), "pNameLength"), Out(LPSTR, "szUnits"), Out(Pointer(UINT), "pUnitsLength"), Out(LPSTR, "szDescription"), Out(Pointer(UINT), "pDescriptionLength")]),
+ StdMethod(HRESULT, "CheckFeatureSupport", [(D3D11_FEATURE, "Feature"), Out(D3D11_FEATURE_DATA, "pFeatureSupportData"), (UINT, "FeatureSupportDataSize")]),
+ StdMethod(HRESULT, "GetPrivateData", [(REFGUID, "guid"), Out(Pointer(UINT), "pDataSize"), Out(OpaquePointer(Void), "pData")]),
+ StdMethod(HRESULT, "SetPrivateData", [(REFGUID, "guid"), (UINT, "DataSize"), (OpaqueBlob(Const(Void), "DataSize"), "pData")]),
+ StdMethod(HRESULT, "SetPrivateDataInterface", [(REFGUID, "guid"), (OpaquePointer(Const(IUnknown)), "pData")]),
+ StdMethod(D3D_FEATURE_LEVEL, "GetFeatureLevel", []),
+ StdMethod(D3D11_CREATE_DEVICE_FLAG, "GetCreationFlags", []),
+ StdMethod(HRESULT, "GetDeviceRemovedReason", []),
+ StdMethod(Void, "GetImmediateContext", [Out(Pointer(ObjPointer(ID3D11DeviceContext)), "ppImmediateContext")]),
+ StdMethod(HRESULT, "SetExceptionMode", [(D3D11_RAISE_FLAG, "RaiseFlags")]),
+ StdMethod(UINT, "GetExceptionMode", []),