12345678910111213141516171819 |
- #ifndef NOISETEXTURE_H
- #define NOISETEXTURE_H
- #include "client/rendering/wrapper/Texture.h"
- #include "common/utils/Types.h"
- class NoiseTexture final {
- public:
- NoiseTexture(uint width, uint height);
- void bind(uint index) const;
- private:
- float getRandom() const;
-
- Texture texture;
- };
- #endif
|