texture_map Function

private function texture_map(self) result(file)

The texture file ('' for none).

Type Bound

SkySphere

Arguments

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

Return Value character(len=:), allocatable


Source Code

    function texture_map(self) result(file)
        class(SkySphere), intent(in) :: self
        character(len=:), allocatable :: file
        file = ''
        if (allocated(self%texture_file)) file = self%texture_file
    end function texture_map