vkf_viewer_light Interface

interface


Called by

interface~~vkf_viewer_light~~CalledByGraph interface~vkf_viewer_light vkf_viewer_light proc~apply_window_light apply_window_light proc~apply_window_light->interface~vkf_viewer_light proc~open WindowProxy%open proc~open->proc~apply_window_light proc~set_light_ambient WindowProxy%set_light_ambient proc~set_light_ambient->proc~apply_window_light proc~set_light_diffuse WindowProxy%set_light_diffuse proc~set_light_diffuse->proc~apply_window_light proc~set_light_position WindowProxy%set_light_position proc~set_light_position->proc~apply_window_light proc~set_light_specular WindowProxy%set_light_specular proc~set_light_specular->proc~apply_window_light

public function vkf_viewer_light(viewer) bind(C, name="vkf_viewer_light")

Arguments

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

viewer handle (vkf_viewer_create)

Return Value type(c_ptr)

Description

The viewer's default light (a vkf_light_create light in eye coordinates, owned by the viewer); null on failure.