[]
Give a device access to a shared resource created on a different Direct3d device.
public T OpenSharedResource<T>(IntPtr resourceHandle) where T : ComObject
| Type | Name | Description |
|---|---|---|
| IntPtr | resourceHandle | A resource handle. See remarks. |
| Type | Description |
|---|---|
| T | This method returns a reference to the resource we are gaining access to. |
| Name | Description |
|---|---|
| T | The type of the resource we are gaining access to. |
HRESULT ID3D11Device::OpenSharedResource([In] void* hResource,[In] const GUID& ReturnedInterface,[Out, Optional] void** ppResource)
public IntPtr OpenSharedResource(IntPtr hResource, Guid returnedInterface)
| Type | Name | Description |
|---|---|---|
| IntPtr | hResource | |
| Guid | returnedInterface |
| Type | Description |
|---|---|
| IntPtr |