vg-renderer icon indicating copy to clipboard operation
vg-renderer copied to clipboard

feat: use bgfx::TransientVertexBuffer / TransientIndexBuffer

Open simsaens opened this issue 1 year ago • 1 comments

Opening this as a draft, this is @johntm's original change to vg-renderer to use bgfx transient buffers. Will work with John to write a better PR description

simsaens avatar Aug 08 '24 13:08 simsaens

I'd suggest putting all those changes inside preprocessor blocks (e.g. #if VG_CONFIG_USE_TRANSIENT_BUFFERS) in order not to break existing functionality. You might also want to hide (#if !VG_CONFIG_USE_TRANSIENT_BUFFERS) GPUVertexBuffer and GPUIndexBuffer and all code which use them.

jdryg avatar Aug 09 '24 05:08 jdryg