Files
glest-source/source/shared_lib/include/graphics/d3d9/texture_d3d9.h
Mark Vejvoda ee2c02610d - updated copyright headers is some files that had them missing
- added a new language string for battle end screen
2012-08-02 00:57:28 +00:00

49 lines
1.2 KiB
C++

// ==============================================================
// This file is part of MegaGlest Shared Library (www.megaglest.org)
//
// Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke
// The Megaglest Team, under GNU GPL v3.0
// ==============================================================
#ifndef _SHARED_D3D9_TEXTURED3D9_H_
#define _SHARED_D3D9_TEXTURED3D9_H_
#include "texture.h"
#include <d3d9.h>
namespace Shared{ namespace Graphics{ namespace D3d9{
// ===============================
// class Texture2DD3d9
// ===============================
class Texture2DD3d9: public Texture2D{
private:
IDirect3DTexture9 *d3dTexture;
public:
IDirect3DTexture9 *getD3dTexture() const {return d3dTexture;}
virtual void init(Filter textureFilter, int maxAnisotropy= 1);
virtual void end();
};
// ===============================
// class TextureCubeD3d9
// ===============================
class TextureCubeD3d9: public TextureCube{
private:
IDirect3DCubeTexture9 *d3dCubeTexture;
public:
IDirect3DCubeTexture9 *getD3dCubeTexture() const {return d3dCubeTexture;}
virtual void init(Filter textureFilter, int maxAnisotropy= 1);
virtual void end();
};
}}}//end namespace
#endif