changeset 1354:8ad6e4cfcb2d

merge
author sam <sam@basx.dev>
date Fri, 27 Sep 2024 23:45:13 +0700
parents 93a6d70d845f (current diff) 3bd16ad0e1b9 (diff)
children 67e8391ffc67
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/rendering.nim	Fri Sep 27 23:44:37 2024 +0700
+++ b/semicongine/rendering.nim	Fri Sep 27 23:45:13 2024 +0700
@@ -146,6 +146,8 @@
     memory: VkDeviceMemory
 
   GPUArray*[T: SupportedGPUType, TBuffer: static BufferType] = object
+    # TODO: when using mapped buffer memory, directly write values to mapped location
+    # instead of using data as buffer
     data*: seq[T]
     buffer*: Buffer
     offset*: uint64