public void TexImage2D(TextureTarget target, int level, PixelInternalFormat internalFormat, int width, int height, int border, PixelFormat format, PixelType type, IntPtr data) { GL.TexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalFormat, width, height, border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, data); }
public void TexSubImage2D(TextureTarget target, int level, int xoffset, int yoffset, int width, int height, PixelFormat format, PixelType type, IntPtr data) { GL.TexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, level, xoffset, yoffset, width, height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, data); }