Vertex data is now uploaded asynchronously, using staging buffers.

This commit is contained in:
2022-07-12 00:48:53 -07:00
parent 96e57d9344
commit e280ac486a
2 changed files with 6 additions and 18 deletions

View File

@@ -694,6 +694,8 @@ void KRContext::doStreaming()
device.streamStart();
}
// TODO - Ensure that each iteration does not exhaust the currently fixed 256MB staging buffer
long streaming_start_frame = m_current_frame;
long memoryRemaining = KRENGINE_GPU_MEM_TARGET;