22 #ifndef TETRAEDGE_TE_TE_3D_TEXTURE_OPENGL_H 23 #define TETRAEDGE_TE_TE_3D_TEXTURE_OPENGL_H 25 #if defined(USE_OPENGL_GAME) 27 #include "tetraedge/te/te_3d_texture.h" 31 class Te3DTextureOpenGL :
public Te3DTexture {
34 virtual ~Te3DTextureOpenGL();
36 void bind()
const override;
37 void copyCurrentRender(uint xoffset, uint yoffset, uint x, uint y)
override;
38 void create()
override;
39 void destroy()
override;
40 void forceTexData(uint gltexture, uint xsize, uint ysize)
override;
42 bool load(
const TeImage &img)
override;
45 bool unload()
override;
46 void update(
const TeImage &img, uint xoff, uint yoff)
override;
60 #endif // TETRAEDGE_TE_TE_3D_TEXTURE_OPENGL_H Definition: detection.h:27