vkf_viewer_size Interface

interface


Called by

interface~~vkf_viewer_size~~CalledByGraph interface~vkf_viewer_size vkf_viewer_size proc~aspect_ratio aspect_ratio proc~aspect_ratio->interface~vkf_viewer_size proc~view_camera view_camera proc~view_camera->interface~vkf_viewer_size proc~view_camera->proc~aspect_ratio proc~cursor_ray WindowProxy%cursor_ray proc~cursor_ray->proc~view_camera proc~place_camera place_camera proc~place_camera->proc~aspect_ratio proc~screen_position WindowProxy%screen_position proc~screen_position->proc~view_camera proc~window_pick WindowProxy%window_pick proc~window_pick->proc~view_camera proc~drag_handle drag_handle proc~drag_handle->proc~cursor_ray proc~frame WindowProxy%frame proc~frame->proc~place_camera proc~dispatch_events dispatch_events proc~frame->proc~dispatch_events proc~grab_handle grab_handle proc~grab_handle->proc~cursor_ray proc~hover_handle hover_handle proc~hover_handle->proc~window_pick proc~dispatch_event dispatch_event proc~dispatch_event->proc~drag_handle proc~dispatch_event->proc~grab_handle proc~dispatch_event->proc~hover_handle proc~release_handle release_handle proc~dispatch_event->proc~release_handle proc~release_handle->proc~hover_handle proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame proc~dispatch_events->proc~dispatch_event

public function vkf_viewer_size(viewer, width, height) bind(C, name="vkf_viewer_size")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: viewer

viewer handle (vkf_viewer_create)

integer(kind=c_int), intent(out) :: width

the size (framebuffer pixels)

integer(kind=c_int), intent(out) :: height

the size (framebuffer pixels)

Return Value integer(kind=c_int)

Description

The swapchain's size (framebuffer pixels): a VSG window's size as it is resized (a host's window has the size it gives, vkf_viewer_resize). Returns 0, or -1 on failure.