MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / DisplayScaleChanged

Method DisplayScaleChanged

Rtxpt/SampleUI.h:333–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332 virtual bool MousePosUpdate(double xpos, double ypos) override;
333 virtual void DisplayScaleChanged(float scaleX, float scaleY) override { m_currentScale = scaleX; assert( scaleX == scaleY ); }
334 virtual void Animate(float elapsedTimeSeconds) override;
335
336 bool BuildUIScriptsAndEtc(void);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected