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