Give the lighting and the frame's color to the map (if made).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(TerrainBody), | intent(inout) | :: | self |
subroutine apply_settings(self) type(TerrainBody), intent(inout) :: self if (.not. c_associated(self%map)) return if (vkf_rocky_map_settings(self%map, merge(1_c_int, 0_c_int, self%lighting_), real(self%color(), c_float)) /= 0) & write(*, '(a)') 'vkframes: TerrainBody '//self%name()//': could not apply the settings' end subroutine apply_settings