set_draw_mode Subroutine

private subroutine set_draw_mode(self, mode)

What to draw: SKY_NONE, or SKY_TEXTURE + SKY_STARS (default; each only if given).

Type Bound

SkySphere

Arguments

Type IntentOptional Attributes Name
class(SkySphere), intent(inout) :: self
integer, intent(in) :: mode

SKY_NONE, or a sum of SKY_TEXTURE and SKY_STARS


Calls

proc~~set_draw_mode~2~~CallsGraph proc~set_draw_mode~2 SkySphere%set_draw_mode proc~apply_mode apply_mode proc~set_draw_mode~2->proc~apply_mode interface~vkf_switch_set vkf_switch_set proc~apply_mode->interface~vkf_switch_set proc~check_status check_status proc~apply_mode->proc~check_status

Source Code

    subroutine set_draw_mode(self, mode)
        class(SkySphere), intent(inout) :: self
        integer, intent(in) :: mode                         !! SKY_NONE, or a sum of SKY_TEXTURE and SKY_STARS
        self%mode = mode
        call apply_mode(self)
    end subroutine set_draw_mode