------------------------------------------------------------------------------
| 318 | |
| 319 | //------------------------------------------------------------------------------ |
| 320 | bool vtkOpenVRRenderWindow::GetSizeFromAPI() |
| 321 | { |
| 322 | if (!this->HMD) |
| 323 | { |
| 324 | return false; |
| 325 | } |
| 326 | |
| 327 | uint32_t renderWidth; |
| 328 | uint32_t renderHeight; |
| 329 | this->HMD->GetRecommendedRenderTargetSize(&renderWidth, &renderHeight); |
| 330 | |
| 331 | this->Size[0] = renderWidth; |
| 332 | this->Size[1] = renderHeight; |
| 333 | |
| 334 | return true; |
| 335 | } |
| 336 | |
| 337 | //------------------------------------------------------------------------------ |
| 338 | std::string vtkOpenVRRenderWindow::GetWindowTitleFromAPI() |