Set the root frame of the scene (not owned: it must stay alive while managed). (The scene is for a window: this also starts loading the Vulkan driver for the first one, in the background, which can take a few tenths of a second.)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(FrameManager), | intent(inout) | :: | self | |||
| class(ReferenceFrame), | intent(in), | target | :: | frame |
the root frame (not owned) |
subroutine fm_set_frame(self, frame) class(FrameManager), intent(inout) :: self class(ReferenceFrame), intent(in), target :: frame !! the root frame (not owned) self%root => frame call vkf_driver_preload() end subroutine fm_set_frame