private Direct3D11(ComInterface.ID3D11Device a_object) { comObject = a_object; ComInterface.GetComMethod(this.comObject, 5, out this.createTexture2D); ComInterface.GetComMethod(this.comObject, 28, out this.openSharedResource); ComInterface.GetComMethod(this.comObject, 40, out this.getImmediateContext); native = Marshal.GetIUnknownForObject(comObject); }
internal D3D11DeviceContext(ComInterface.ID3D11DeviceContext obj) { this.comObject = obj; ComInterface.GetComMethod(this.comObject, 14, out this.map); ComInterface.GetComMethod(this.comObject, 15, out this.unmap); ComInterface.GetComMethod(this.comObject, 47, out this.copyResource); ComInterface.GetComMethod(this.comObject, 111, out this.flush); }
internal DXGIResource(ComInterface.IDXGIResource obj) { this.comObject = obj; ComInterface.GetComMethod(this.comObject, 8, out this.getSharedHandle); }
internal D3D11Texture2D(ComInterface.ID3D11Texture2D obj) { this.comObject = obj; ComInterface.GetComMethod(this.comObject, 10, out this.getDesc); this.native = Marshal.GetIUnknownForObject(this.comObject); }