so apparently img.data I was using as a parameter is a 2d array right?
so apparently img.data I was using as a parameter is a 2d array right?

byte[] cause thats what it is lol
_texture.Bind() should be it
uTexture in your shader before binding the texture, i would try that first)


unmanaged and so i just store a pointerunmanaged...fixed (byte* ptr = img.Data)
_gl.TexImage2D(..., ptr);fixed (byte* ptr = Encoding.UTF8.GetBytes("text"))
// things with ptrpublic class Thing
{
void* whatever;
public Thing(byte[] stuff)
{
fixed (void* ptr = stuff)
whatever = ptr;
}
}