public D3D12_RT_FORMAT_ARRAY([NativeTypeName("const DXGI_FORMAT *")] DXGI_FORMAT *pFormats, [NativeTypeName("UINT")] uint NumFormats)
        {
            this = default;

            NumRenderTargets = NumFormats;
            Buffer.MemoryCopy(Unsafe.AsPointer(ref RTFormats), pFormats, sizeof(_RTFormats_e__FixedBuffer), sizeof(_RTFormats_e__FixedBuffer));
        }
    public D3D12_RT_FORMAT_ARRAY([NativeTypeName("const DXGI_FORMAT *")] DXGI_FORMAT *pFormats, uint NumFormats)
    {
        Unsafe.SkipInit(out this);

        NumRenderTargets = NumFormats;
        Buffer.MemoryCopy(pFormats, Unsafe.AsPointer(ref RTFormats), sizeof(_RTFormats_e__FixedBuffer), sizeof(_RTFormats_e__FixedBuffer));
    }
 public int DuplicateOutput1(IUnknown *pDevice, [NativeTypeName("UINT")] uint Flags, [NativeTypeName("UINT")] uint SupportedFormatsCount, [NativeTypeName("const DXGI_FORMAT *")] DXGI_FORMAT *pSupportedFormats, IDXGIOutputDuplication **ppOutputDuplication)
 {
     return(((delegate * unmanaged <IDXGIOutput6 *, IUnknown *, uint, uint, DXGI_FORMAT *, IDXGIOutputDuplication **, int>)(lpVtbl[26]))((IDXGIOutput6 *)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication));
 }
Beispiel #4
0
 public void IAGetIndexBuffer(ID3D10Buffer **pIndexBuffer, DXGI_FORMAT *Format, [NativeTypeName("UINT *")] uint *Offset)
 {
     ((delegate * unmanaged <ID3D10Device *, ID3D10Buffer **, DXGI_FORMAT *, uint *, void>)(lpVtbl[47]))((ID3D10Device *)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset);
 }
Beispiel #5
0
 public void IAGetIndexBuffer([NativeTypeName("ID3D11Buffer **")] ID3D11Buffer **pIndexBuffer, [NativeTypeName("DXGI_FORMAT *")] DXGI_FORMAT *Format, [NativeTypeName("UINT *")] uint *Offset)
 {
     ((delegate * stdcall <ID3D11DeviceContext *, ID3D11Buffer **, DXGI_FORMAT *, uint *, void>)(lpVtbl[80]))((ID3D11DeviceContext *)Unsafe.AsPointer(ref this), pIndexBuffer, Format, Offset);
 }