# HG changeset patch # User sam # Date 1726137023 -25200 # Node ID 3bd16ad0e1b9985188a3396fc427f8480283191b # Parent 7b8a6b5e9a4648fb3663ef4cb1bfdbfa90a1b6c1 add: todo comment diff -r 7b8a6b5e9a46 -r 3bd16ad0e1b9 semicongine/rendering.nim --- 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