1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00
GLideN64/src/NoiseTexture.h

25 lines
329 B
C
Raw Normal View History

2017-01-05 12:37:14 +00:00
#pragma once
2017-01-06 07:33:49 +00:00
#include <memory>
2017-01-05 12:37:14 +00:00
#include "Types.h"
2017-02-01 20:38:02 +00:00
#define NOISE_TEX_NUM 30
2017-01-06 07:33:49 +00:00
2017-01-05 12:37:14 +00:00
struct CachedTexture;
class NoiseTexture
{
public:
NoiseTexture();
void init();
void destroy();
void update();
private:
2017-02-01 20:38:02 +00:00
CachedTexture * m_pTexture[NOISE_TEX_NUM];
2017-01-05 12:37:14 +00:00
u32 m_DList;
2017-02-01 20:38:02 +00:00
u32 m_currTex, m_prevTex;
2017-01-05 12:37:14 +00:00
};
2017-02-01 20:38:02 +00:00
extern NoiseTexture g_noiseTexture;