-
Hello, I am trying to make a binding for Khronos libKTX : https://github.com/KhronosGroup/KTX-Software But I struggle on pointers to struct. Here you can see the function call which is the problem : https://github.com/KhronosGroup/KTX-Software/blob/a7159924a6095488d8fb1ded358113d85813f669/include/ktx.h#L895
I translated it to Java as :
but I can't manage to map this pointer back to a Struct, there is a 'useMemory' method but it doesn't do the trick :
a little help would be appreciated :) Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Find the solution on my own. |
Beta Was this translation helpful? Give feedback.
Find the solution on my own.
I forget to map correctly a field in the KtxTexture and everything got messed up.