C
C#6mo ago
Vlad

[Xamarin] [Android] Pass pointer into GLES20.GlBufferSubData

Hey yall, I have the following issue: my function takes in an IntPtr and a size, however GLES20.GlBufferSubData (https://learn.microsoft.com/en-us/dotnet/api/android.opengl.gles20.glbuffersubdata?view=net-android-34.0) takes in a Java.Nio.Buffer. I can't seem to construct a ByteBuffer or anything other out of my pointer to pass it into it. Is there a way to maybe get an NDK version of GlBufferSubData or to fake the buffer somehow?
1 Reply
Vlad
VladOP6mo ago
Welp I just ended up loading EGL as a native library and getting the functions symbols from there
Want results from more Discord servers?
Add your server