public static IInspectable *CreateDirect3DDevice(IDXGISurface *dxgiSurface)
        {
            IInspectable *inspectableSurface;

            Marshal.ThrowExceptionForHR(CreateDirect3D11SurfaceFromDXGISurface(dxgiSurface, &inspectableSurface));
            return(inspectableSurface);
        }
 public int GetDisplaySurfaceData(IDXGISurface *pDestination)
 {
     return(((delegate * unmanaged <IDXGIOutput4 *, IDXGISurface *, int>)(lpVtbl[17]))((IDXGIOutput4 *)Unsafe.AsPointer(ref this), pDestination));
 }
 public int SetDisplaySurface(IDXGISurface *pScanoutSurface)
 {
     return(((delegate * unmanaged <IDXGIOutput4 *, IDXGISurface *, int>)(lpVtbl[16]))((IDXGIOutput4 *)Unsafe.AsPointer(ref this), pScanoutSurface));
 }
Exemplo n.º 4
0
 public int CreateDxgiSurfaceRenderTarget(IDXGISurface *dxgiSurface, [NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget)
 {
     return(((delegate * unmanaged <ID2D1Factory5 *, IDXGISurface *, D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **, int>)(lpVtbl[15]))((ID2D1Factory5 *)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget));
 }
 public int RenderPageToSurface(IUnknown *pdfPage, IDXGISurface *pSurface, POINT offset, PDF_RENDER_PARAMS *pRenderParams)
 {
     return(((delegate * unmanaged <IPdfRendererNative *, IUnknown *, IDXGISurface *, POINT, PDF_RENDER_PARAMS *, int>)(lpVtbl[3]))((IPdfRendererNative *)Unsafe.AsPointer(ref this), pdfPage, pSurface, offset, pRenderParams));
 }
Exemplo n.º 6
0
 public static extern int CreateDirect3D11SurfaceFromDXGISurface([NativeTypeName("IDXGISurface *")] IDXGISurface *dgxiSurface, [NativeTypeName("IInspectable **")] IInspectable **graphicsSurface);
Exemplo n.º 7
0
 public int GetDisplaySurfaceData([NativeTypeName("IDXGISurface *")] IDXGISurface *pDestination)
 {
     return(((delegate * stdcall <IDXGIOutput2 *, IDXGISurface *, int>)(lpVtbl[17]))((IDXGIOutput2 *)Unsafe.AsPointer(ref this), pDestination));
 }
Exemplo n.º 8
0
 public int SetDisplaySurface([NativeTypeName("IDXGISurface *")] IDXGISurface *pScanoutSurface)
 {
     return(((delegate * stdcall <IDXGIOutput2 *, IDXGISurface *, int>)(lpVtbl[16]))((IDXGIOutput2 *)Unsafe.AsPointer(ref this), pScanoutSurface));
 }
Exemplo n.º 9
0
 public static extern int D2D1CreateDeviceContext([NativeTypeName("IDXGISurface *")] IDXGISurface *dxgiSurface, [NativeTypeName("const D2D1_CREATION_PROPERTIES *")] D2D1_CREATION_PROPERTIES *creationProperties, [NativeTypeName("ID2D1DeviceContext **")] ID2D1DeviceContext **d2dDeviceContext);
Exemplo n.º 10
0
 public static extern int CreateDirect3D11SurfaceFromDXGISurface(IDXGISurface *dgxiSurface, IInspectable **graphicsSurface);