# HG changeset patch # User sam # Date 1727455513 -25200 # Node ID 8ad6e4cfcb2d42d607d9a0e9feebd6d0fd0d737e # Parent 93a6d70d845f14b0383508242f0b5d97b3d92af7# Parent 3bd16ad0e1b9985188a3396fc427f8480283191b merge diff -r 93a6d70d845f -r 8ad6e4cfcb2d semicongine/rendering.nim --- 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