HolographicSpace.SetDirect3D11Device(IDirect3DDevice) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns the IDirect3DDevice that will display holographic content. An error will occur if the app creates an inappropriate device.
public:
virtual void SetDirect3D11Device(IDirect3DDevice ^ value) = SetDirect3D11Device;
void SetDirect3D11Device(IDirect3DDevice const& value);
public void SetDirect3D11Device(IDirect3DDevice value);
function setDirect3D11Device(value)
Public Sub SetDirect3D11Device (value As IDirect3DDevice)
Parameters
- value
- IDirect3DDevice
The Direct3D device.
Remarks
This method will make use of the Direct3D device you provide to set up holographic rendering. If you've specified the D3D11_CREATE_DEVICE_SINGLETHREADED flag on your device, be sure to call this method from your single Direct3D thread to avoid undefined behavior.
This method should be called when providing the Direct3D device for the first time, and when the Direct3D device has changed.