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

Method SetViewport

Perception_v3/DxProxy/DxProxy/D3DProxyDevice.cpp:1458–1481  ·  view source on GitHub ↗

* Try and set, if success save viewport. * Also, it captures the viewport state in stored proxy state block. * If viewport width and height match primary render target size and zmin is 0 and zmax 1 set * m_bActiveViewportIsDefault flag true. * @see D3D9ProxyStateBlock::SelectAndCaptureState() * @see m_bActiveViewportIsDefault ***/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

SelectAndCaptureStateMethod · 0.80

Tested by

no test coverage detected