vkf_viewer_set_background Interface

interface


Called by

interface~~vkf_viewer_set_background~~CalledByGraph interface~vkf_viewer_set_background vkf_viewer_set_background proc~set_background_color WindowProxy%set_background_color proc~set_background_color->interface~vkf_viewer_set_background proc~open WindowProxy%open proc~open->proc~set_background_color

public function vkf_viewer_set_background(viewer, rgba) bind(C, name="vkf_viewer_set_background")

Arguments

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

viewer handle (vkf_viewer_create)

real(kind=c_float), intent(in), dimension(4) :: rgba

color (rgba, 0 to 1)

Return Value integer(kind=c_int)

Description

Set the background (clear) color. Returns 0, or -1 on failure.