fm_set_frame Subroutine

private subroutine fm_set_frame(self, frame)

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 Bound

FrameManager

Arguments

Type IntentOptional Attributes Name
class(FrameManager), intent(inout) :: self
class(ReferenceFrame), intent(in), target :: frame

the root frame (not owned)


Calls

proc~~fm_set_frame~~CallsGraph proc~fm_set_frame FrameManager%fm_set_frame interface~vkf_driver_preload vkf_driver_preload proc~fm_set_frame->interface~vkf_driver_preload

Called by

proc~~fm_set_frame~~CalledByGraph proc~fm_set_frame FrameManager%fm_set_frame proc~new_frame_manager new_frame_manager proc~new_frame_manager->proc~fm_set_frame interface~framemanager FrameManager interface~framemanager->proc~new_frame_manager

Source Code

    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