set_light_specular Subroutine

private subroutine set_light_specular(self, rgb)

The specular color of the window's light (see set_light_ambient).

Type Bound

WindowProxy

Arguments

Type IntentOptional Attributes Name
class(WindowProxy), intent(inout) :: self
real(kind=wp), intent(in) :: rgb(3)

[r, g, b], 0 to 1 (default black: none)


Calls

proc~~set_light_specular~~CallsGraph proc~set_light_specular WindowProxy%set_light_specular proc~apply_window_light apply_window_light proc~set_light_specular->proc~apply_window_light interface~vkf_light_set vkf_light_set proc~apply_window_light->interface~vkf_light_set interface~vkf_viewer_light vkf_viewer_light proc~apply_window_light->interface~vkf_viewer_light

Source Code

    subroutine set_light_specular(self, rgb)
        class(WindowProxy), intent(inout) :: self
        real(wp), intent(in) :: rgb(3)                      !! [r, g, b], 0 to 1 (default black: none)
        self%light_specular_ = rgb
        call apply_window_light(self)
    end subroutine set_light_specular