set_auto_lod Subroutine

private subroutine set_auto_lod(self, lod)

Level of detail (default on; see the module documentation): meshes of several resolutions, the one drawn chosen per view. Off: one mesh of set_resolution's segments. Set it before a window shows the sphere.

Type Bound

Sphere

Arguments

Type IntentOptional Attributes Name
class(Sphere), intent(inout) :: self
logical, intent(in) :: lod

true: level of detail; false: one mesh


Source Code

    subroutine set_auto_lod(self, lod)
        class(Sphere), intent(inout) :: self
        logical, intent(in) :: lod                          !! true: level of detail; false: one mesh
        self%auto_lod_ = lod
    end subroutine set_auto_lod