- Home /
How to reassign buffer obtained from GetNativeIndexBufferPtr() from directX/opengl?
Hello,
How can I reassign buffer of different size straight from native dll?
When I assign new buffer using CreateBuffer() to the same pointer I got from GetNativeIndexBufferPtr(), I get this error:
allocation 0x000000....9409.. already registered @ C:.... size 12288; now calling from C:..... size 768
If there is any proper way to resize these buffers without coming from C# or without marshaling between managed/unmanaged code, please tell me.
Thank you so much in advance, Ittinop(Pun)
Comment