31 lines
356 B
C#
31 lines
356 B
C#
using System;
|
|
using System.IO;
|
|
|
|
using OpenTK;
|
|
using OpenTK.Graphics.OpenGL;
|
|
|
|
using ImageSharp;
|
|
|
|
namespace org.niclasundharald.engine
|
|
{
|
|
public class Texture
|
|
{
|
|
int tid;
|
|
|
|
public Texture(string filename)
|
|
{
|
|
init();
|
|
load(filename);
|
|
}
|
|
|
|
private void init(){
|
|
this.tid = GL.GenTexture();
|
|
}
|
|
|
|
private void load(string filename){
|
|
|
|
}
|
|
|
|
}
|
|
}
|