2 ms·
I hope you realize that index buffers are an industry standard in graphics APIs.
by imtringued 2y ago
I hope you realize that index buffers are an industry standard in graphics APIs.
- Animats 2y agoVertex index buffers are not usually updated dynamically. Vulkan bindless descriptor tables are updated dynamically, and do have pointers to memory addresses. Those require a slot allocator and a deferred, interlocked deletion system to prevent deleting something from underneath a renderer. Not fun. I've been working on that.
- saurik 2y agoI do. I am not saying they are not useful... I am saying they are not safe. In a world where you care about the safety guarantees of Rust, you'd take an API that insists on manual index management and you would build an abstraction over it that allowed the compiler to prove its correctness using a proof system of some form, maybe borrow checking, or maybe something much more sophisticated.