The size of the window's scene graph (see vkf_diagnostics): traverses it all, for an occasional update, not every frame. Zeros while it isn't open.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(in) | :: | self |
function scene_counts(self) result(counts) class(WindowProxy), intent(in) :: self type(SceneCounts) :: counts real(c_double) :: c(3) if (.not. c_associated(self%viewer_)) return if (vkf_viewer_scene_counts(self%viewer_, c) /= 0) return counts%nodes = int(c(1), int64) counts%draws = int(c(2), int64) counts%vertices = int(c(3), int64) end function scene_counts