The view's frame (the frame it follows) where it is now: the renderer's world-to-view transform (the camera stays where it is in that frame).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(WindowProxy), | intent(inout), | target | :: | self |
subroutine track_view(self) type(WindowProxy), intent(inout), target :: self type(View), pointer :: v v => self%current_view() if (.not. associated(v)) return if (vkf_viewer_set_view_transform(self%viewer_, v%world_to_view()) /= 0) & write(*, '(a)') 'vkframes: could not set the view' end subroutine track_view