The map, made for the viewer showing the body (none headless or without Rocky).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TerrainBody), | intent(inout) | :: | self | |||
| type(c_ptr), | intent(in) | :: | viewer |
a window's viewer handle (null: headless) |
||
| type(c_ptr), | intent(in) | :: | group |
the group node to build under |
subroutine terrain_build_contents(self, viewer, group) class(TerrainBody), intent(inout) :: self type(c_ptr), intent(in) :: viewer !! a window's viewer handle (null: headless) type(c_ptr), intent(in) :: group !! the group node to build under if (.not. c_associated(viewer)) return if (.not. rocky_available()) then write(*, '(a)') 'vkframes: TerrainBody '//self%name()//': vkframes was built without Rocky ' // & '(pixi run -e rocky rocky-build, then run in the rocky environment)' return end if self%map_group = group call make_map(self, viewer) end subroutine terrain_build_contents