Etterna 0.74.4
Loading...
Searching...
No Matches
RageBitmapTexture.h
1/* RageBitmapTexture - Loads a static texture. */
2
3#ifndef RAGEBITMAPTEXTURE_H
4#define RAGEBITMAPTEXTURE_H
5
6#include "RageTexture.h"
7
9{
10 public:
12 ~RageBitmapTexture() override;
13 /* only called by RageTextureManager::InvalidateTextures */
14 void Invalidate() override { m_uTexHandle = 0; /* don't Destroy() */ }
15 void Reload() override;
16 intptr_t GetTexHandle() const override
17 {
18 return m_uTexHandle;
19 }; // accessed by RageDisplay
20
21 private:
22 void Create(); // called by constructor and Reload
23 void Destroy();
24 intptr_t m_uTexHandle; // treat as unsigned in OpenGL, ID3D8Texture* for D3D
25};
26
27#endif
Definition RageBitmapTexture.h:9
Definition RageTexture.h:14
Definition RageTextureID.h:12