changeset 1352:3bd16ad0e1b9

add: todo comment
author sam <sam@basx.dev>
date Thu, 12 Sep 2024 17:30:23 +0700
parents 7b8a6b5e9a46
children 8ad6e4cfcb2d
files semicongine/rendering.nim
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/rendering.nim	Wed Sep 11 23:26:08 2024 +0700
+++ b/semicongine/rendering.nim	Thu Sep 12 17:30:23 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