| 12345678910111213141516171819 |
- #pragma once
- #include "Texture.h"
- namespace Framework
- {
- //! Converts an image to a texture that can be passed to the graphics
- //! card for rendering
- class DX9Texture : public Texture
- {
- public:
- DX9Texture(TextureDirection dir);
- //! Updates the texture. The pixels of the current image are copied
- //! to graphics memory
- DLLEXPORT virtual bool updateTextur() override;
- //! Returns true if updateTextur needs to be called
- DLLEXPORT virtual bool needsUpdate() const override;
- };
- } // namespace Framework
|