MCPcopy Create free account
hub / github.com/cybereality/Perception / GetDevice

Method GetDevice

Perception_v3/DxProxy/DxProxy/D3D9ProxySurface.cpp:129–138  ·  view source on GitHub ↗

* GetDevice on the underlying IDirect3DSurface9 will return the device used to create it. * Which is the actual device and not the wrapper. Therefore we have to keep track of the * wrapper device and return that instead. * * Calling this method will increase the internal reference count on the IDirect3DDevice9 interface. * Failure to call IUnknown::Release when finished using this IDirect3DDev

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

AddRefMethod · 0.45

Tested by

no test coverage detected