File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ class MeshLoadersApp final : public MonoWindowApplication, public BuiltinResourc
125125 }
126126 cb->end ();
127127
128- // updateGUIDescriptorSet();
129-
130128 IQueue::SSubmitInfo::SSemaphoreInfo retval =
131129 {
132130 .semaphore = m_semaphore.get (),
@@ -341,8 +339,15 @@ class MeshLoadersApp final : public MonoWindowApplication, public BuiltinResourc
341339 }
342340
343341 const auto & converted = reservation.getGPUObjects <ICPUPolygonGeometry>();
344- return m_renderer->addGeometries ({&converted.front ().get (),converted.size ()});
342+ if (!m_renderer->addGeometries ({ &converted.front ().get (),converted.size () }))
343+ return false ;
345344 }
345+
346+ // TODO: get scene bounds and reset camera
347+
348+ // TODO: write out the geometry
349+
350+ return true ;
346351 }
347352
348353 // Maximum frames which can be simultaneously submitted, used to cycle through our per-frame resources like command buffers
You can’t perform that action at this time.
0 commit comments