Skip to content

IVRSystem::GetRecommendedRenderTargetSize

Joe Ludwig edited this page Apr 21, 2015 · 1 revision

void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight )

Provides the game with the minimum size that it should use for its offscreen render target to minimize pixel stretching. This size is matched with the projection matrix and distortion function and will change from display to display depending on resolution, distortion, and field of view.

  • pnWidth - recommended width for the offscreen render target
  • pnHeight - recommended height for the offscreen render target
Clone this wiki locally