forked from Tr0n/client
Solution refactoring and restructuring, removed Boost dependency, removed unused tools
This commit is contained in:
32
src/EterLib/GrpTexture.h
Normal file
32
src/EterLib/GrpTexture.h
Normal file
@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "GrpBase.h"
|
||||
|
||||
class CGraphicTexture : public CGraphicBase
|
||||
{
|
||||
public:
|
||||
virtual bool IsEmpty() const;
|
||||
|
||||
int GetWidth() const;
|
||||
int GetHeight() const;
|
||||
|
||||
void SetTextureStage(int stage) const;
|
||||
LPDIRECT3DTEXTURE8 GetD3DTexture() const;
|
||||
|
||||
void DestroyDeviceObjects();
|
||||
|
||||
protected:
|
||||
CGraphicTexture();
|
||||
virtual ~CGraphicTexture();
|
||||
|
||||
void Destroy();
|
||||
void Initialize();
|
||||
|
||||
protected:
|
||||
bool m_bEmpty;
|
||||
|
||||
int m_width;
|
||||
int m_height;
|
||||
|
||||
LPDIRECT3DTEXTURE8 m_lpd3dTexture;
|
||||
};
|
Reference in New Issue
Block a user