So with Silk.Net we just go to learnopengl, look their examples and write the same on C#?
So with Silk.Net we just go to learnopengl, look their examples and write the same on C#?


fixed on the image data
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)


fixed (byte* ptr = Encoding.UTF8.GetBytes("text"))
// things with ptrpublic class Thing
{
void* whatever;
public Thing(byte[] stuff)
{
fixed (void* ptr = stuff)
whatever = ptr;
}
}fixedbyte[]fixed (byte* ptr = img.Data)
_gl.TexImage2D(..., ptr);