Example #1
0
 public int ReturnUnderlyingResource(ID3D11Resource *pResource11, [NativeTypeName("UINT")] uint NumSync, [NativeTypeName("UINT64 *")] ulong *pSignalValues, ID3D12Fence **ppFences)
 {
     return(((delegate * unmanaged <ID3D11On12Device2 *, ID3D11Resource *, uint, ulong *, ID3D12Fence **, int>)(lpVtbl[8]))((ID3D11On12Device2 *)Unsafe.AsPointer(ref this), pResource11, NumSync, pSignalValues, ppFences));
 }
 public void GetResourceTiling(ID3D11Resource *pTiledResource, [NativeTypeName("UINT *")] uint *pNumTilesForEntireResource, D3D11_PACKED_MIP_DESC *pPackedMipDesc, D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips, [NativeTypeName("UINT *")] uint *pNumSubresourceTilings, [NativeTypeName("UINT")] uint FirstSubresourceTilingToGet, D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips)
 {
     ((delegate * unmanaged <ID3D11Device5 *, ID3D11Resource *, uint *, D3D11_PACKED_MIP_DESC *, D3D11_TILE_SHAPE *, uint *, uint, D3D11_SUBRESOURCE_TILING *, void>)(lpVtbl[52]))((ID3D11Device5 *)Unsafe.AsPointer(ref this), pTiledResource, pNumTilesForEntireResource, pPackedMipDesc, pStandardTileShapeForNonPackedMips, pNumSubresourceTilings, FirstSubresourceTilingToGet, pSubresourceTilingsForNonPackedMips);
 }
Example #3
0
 public int CreateUnorderedAccessView1([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *")] D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1, [NativeTypeName("ID3D11UnorderedAccessView1 **")] ID3D11UnorderedAccessView1 **ppUAView1)
 {
     return(((delegate * stdcall <ID3D11Device4 *, ID3D11Resource *, D3D11_UNORDERED_ACCESS_VIEW_DESC1 *, ID3D11UnorderedAccessView1 **, int>)(lpVtbl[58]))((ID3D11Device4 *)Unsafe.AsPointer(ref this), pResource, pDesc1, ppUAView1));
 }
Example #4
0
 public int UnwrapUnderlyingResource(ID3D11Resource *pResource11, ID3D12CommandQueue *pCommandQueue, [NativeTypeName("const IID &")] Guid *riid, void **ppvResource12)
 {
     return(((delegate * unmanaged <ID3D11On12Device2 *, ID3D11Resource *, ID3D12CommandQueue *, Guid *, void **, int>)(lpVtbl[7]))((ID3D11On12Device2 *)Unsafe.AsPointer(ref this), pResource11, pCommandQueue, riid, ppvResource12));
 }
Example #5
0
 public int CreateRenderTargetView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_RENDER_TARGET_VIEW_DESC *")] D3D11_RENDER_TARGET_VIEW_DESC *pDesc, [NativeTypeName("ID3D11RenderTargetView **")] ID3D11RenderTargetView **ppRTView)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, ID3D11Resource *, D3D11_RENDER_TARGET_VIEW_DESC *, ID3D11RenderTargetView **, int>)(lpVtbl[9]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), pResource, pDesc, ppRTView));
 }
Example #6
0
 public int CreateVideoDecoderOutputView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *")] D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc, [NativeTypeName("ID3D11VideoDecoderOutputView **")] ID3D11VideoDecoderOutputView **ppVDOVView)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice *, ID3D11Resource *, D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *, ID3D11VideoDecoderOutputView **, int>)(lpVtbl[7]))((ID3D11VideoDevice *)Unsafe.AsPointer(ref this), pResource, pDesc, ppVDOVView));
 }
Example #7
0
 public float GetResourceMinLOD([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource)
 {
     return(((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, float>)(lpVtbl[56]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pResource));
 }
Example #8
0
 public int CreateShaderResourceView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_SHADER_RESOURCE_VIEW_DESC *")] D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc, [NativeTypeName("ID3D11ShaderResourceView **")] ID3D11ShaderResourceView **ppSRView)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, ID3D11Resource *, D3D11_SHADER_RESOURCE_VIEW_DESC *, ID3D11ShaderResourceView **, int>)(lpVtbl[7]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), pResource, pDesc, ppSRView));
 }
Example #9
0
 public void UpdateSubresource([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pDstResource, [NativeTypeName("UINT")] uint DstSubresource, [NativeTypeName("const D3D11_BOX *")] D3D11_BOX *pDstBox, [NativeTypeName("const void *")] void *pSrcData, [NativeTypeName("UINT")] uint SrcRowPitch, [NativeTypeName("UINT")] uint SrcDepthPitch)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, uint, D3D11_BOX *, void *, uint, uint, void>)(lpVtbl[48]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
 }
Example #10
0
 public void SetResourceMinLOD([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("FLOAT")] float MinLOD)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, float, void>)(lpVtbl[55]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pResource, MinLOD);
 }
Example #11
0
 public void CopyResource([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pDstResource, [NativeTypeName("ID3D11Resource *")] ID3D11Resource *pSrcResource)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, ID3D11Resource *, void>)(lpVtbl[47]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pDstResource, pSrcResource);
 }
Example #12
0
 public void CopySubresourceRegion([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pDstResource, [NativeTypeName("UINT")] uint DstSubresource, [NativeTypeName("UINT")] uint DstX, [NativeTypeName("UINT")] uint DstY, [NativeTypeName("UINT")] uint DstZ, [NativeTypeName("ID3D11Resource *")] ID3D11Resource *pSrcResource, [NativeTypeName("UINT")] uint SrcSubresource, [NativeTypeName("const D3D11_BOX *")] D3D11_BOX *pSrcBox)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, uint, uint, uint, uint, ID3D11Resource *, uint, D3D11_BOX *, void>)(lpVtbl[46]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox);
 }
Example #13
0
 public int CreateRenderTargetView1([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_RENDER_TARGET_VIEW_DESC1 *")] D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1, [NativeTypeName("ID3D11RenderTargetView1 **")] ID3D11RenderTargetView1 **ppRTView1)
 {
     return(((delegate * stdcall <ID3D11Device4 *, ID3D11Resource *, D3D11_RENDER_TARGET_VIEW_DESC1 *, ID3D11RenderTargetView1 **, int>)(lpVtbl[59]))((ID3D11Device4 *)Unsafe.AsPointer(ref this), pResource, pDesc1, ppRTView1));
 }
 public void WriteToSubresource(ID3D11Resource *pDstResource, [NativeTypeName("UINT")] uint DstSubresource, [NativeTypeName("const D3D11_BOX *")] D3D11_BOX *pDstBox, [NativeTypeName("const void *")] void *pSrcData, [NativeTypeName("UINT")] uint SrcRowPitch, [NativeTypeName("UINT")] uint SrcDepthPitch)
 {
     ((delegate * unmanaged <ID3D11Device5 *, ID3D11Resource *, uint, D3D11_BOX *, void *, uint, uint, void>)(lpVtbl[63]))((ID3D11Device5 *)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
 }
Example #15
0
 public void ResolveSubresource([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pDstResource, [NativeTypeName("UINT")] uint DstSubresource, [NativeTypeName("ID3D11Resource *")] ID3D11Resource *pSrcResource, [NativeTypeName("UINT")] uint SrcSubresource, DXGI_FORMAT Format)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, uint, ID3D11Resource *, uint, DXGI_FORMAT, void>)(lpVtbl[57]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pDstResource, DstSubresource, pSrcResource, SrcSubresource, Format);
 }
 public void ReadFromSubresource(void *pDstData, [NativeTypeName("UINT")] uint DstRowPitch, [NativeTypeName("UINT")] uint DstDepthPitch, ID3D11Resource *pSrcResource, [NativeTypeName("UINT")] uint SrcSubresource, [NativeTypeName("const D3D11_BOX *")] D3D11_BOX *pSrcBox)
 {
     ((delegate * unmanaged <ID3D11Device5 *, void *, uint, uint, ID3D11Resource *, uint, D3D11_BOX *, void>)(lpVtbl[64]))((ID3D11Device5 *)Unsafe.AsPointer(ref this), pDstData, DstRowPitch, DstDepthPitch, pSrcResource, SrcSubresource, pSrcBox);
 }
Example #17
0
 public int Map([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("UINT")] uint Subresource, D3D11_MAP MapType, [NativeTypeName("UINT")] uint MapFlags, [NativeTypeName("D3D11_MAPPED_SUBRESOURCE *")] D3D11_MAPPED_SUBRESOURCE *pMappedResource)
 {
     return(((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, uint, D3D11_MAP, uint, D3D11_MAPPED_SUBRESOURCE *, int>)(lpVtbl[14]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pResource, Subresource, MapType, MapFlags, pMappedResource));
 }
Example #18
0
 public int CreateUnorderedAccessView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_UNORDERED_ACCESS_VIEW_DESC *")] D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc, [NativeTypeName("ID3D11UnorderedAccessView **")] ID3D11UnorderedAccessView **ppUAView)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, ID3D11Resource *, D3D11_UNORDERED_ACCESS_VIEW_DESC *, ID3D11UnorderedAccessView **, int>)(lpVtbl[8]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), pResource, pDesc, ppUAView));
 }
Example #19
0
 public void Unmap([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("UINT")] uint Subresource)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Resource *, uint, void>)(lpVtbl[15]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pResource, Subresource);
 }
Example #20
0
 public int CreateDepthStencilView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_DEPTH_STENCIL_VIEW_DESC *")] D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc, [NativeTypeName("ID3D11DepthStencilView **")] ID3D11DepthStencilView **ppDepthStencilView)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, ID3D11Resource *, D3D11_DEPTH_STENCIL_VIEW_DESC *, ID3D11DepthStencilView **, int>)(lpVtbl[10]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), pResource, pDesc, ppDepthStencilView));
 }
Example #21
0
 public HRESULT CreateVideoProcessorInputView(ID3D11Resource *pResource, ID3D11VideoProcessorEnumerator *pEnum, [NativeTypeName("const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *")] D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc, ID3D11VideoProcessorInputView **ppVPIView)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice1 *, ID3D11Resource *, ID3D11VideoProcessorEnumerator *, D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *, ID3D11VideoProcessorInputView **, int>)(lpVtbl[8]))((ID3D11VideoDevice1 *)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPIView));
 }
Example #22
0
 public int CreateVideoProcessorOutputView([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("ID3D11VideoProcessorEnumerator *")] ID3D11VideoProcessorEnumerator *pEnum, [NativeTypeName("const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *")] D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc, [NativeTypeName("ID3D11VideoProcessorOutputView **")] ID3D11VideoProcessorOutputView **ppVPOView)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice *, ID3D11Resource *, ID3D11VideoProcessorEnumerator *, D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *, ID3D11VideoProcessorOutputView **, int>)(lpVtbl[9]))((ID3D11VideoDevice *)Unsafe.AsPointer(ref this), pResource, pEnum, pDesc, ppVPOView));
 }
Example #23
0
 public int CreateShaderResourceView1([NativeTypeName("ID3D11Resource *")] ID3D11Resource *pResource, [NativeTypeName("const D3D11_SHADER_RESOURCE_VIEW_DESC1 *")] D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1, [NativeTypeName("ID3D11ShaderResourceView1 **")] ID3D11ShaderResourceView1 **ppSRView1)
 {
     return(((delegate * stdcall <ID3D11Device4 *, ID3D11Resource *, D3D11_SHADER_RESOURCE_VIEW_DESC1 *, ID3D11ShaderResourceView1 **, int>)(lpVtbl[57]))((ID3D11Device4 *)Unsafe.AsPointer(ref this), pResource, pDesc1, ppSRView1));
 }