------------------------------------------------------------------------------ Description: Get the window size of the state.
| 65 | // Description: |
| 66 | // Get the window size of the state. |
| 67 | void vtkRenderState::GetWindowSize(int size[2]) const |
| 68 | { |
| 69 | if (this->FrameBuffer == nullptr) |
| 70 | { |
| 71 | this->Renderer->GetTiledSize(&size[0], &size[1]); |
| 72 | } |
| 73 | else |
| 74 | { |
| 75 | this->FrameBuffer->GetLastSize(size); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | //------------------------------------------------------------------------------ |
| 80 | // Description: |