mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-15 08:52:01 +00:00
30 lines
357 B
C++
30 lines
357 B
C++
#ifndef __GL_SAMPLERS_H
|
|
#define __GL_SAMPLERS_H
|
|
|
|
#include "gl_hwtexture.h"
|
|
#include "textures.h"
|
|
|
|
namespace OpenGLRenderer
|
|
{
|
|
|
|
|
|
class FSamplerManager
|
|
{
|
|
unsigned int mSamplers[NUMSAMPLERS];
|
|
|
|
void UnbindAll();
|
|
|
|
public:
|
|
|
|
FSamplerManager();
|
|
~FSamplerManager();
|
|
|
|
uint8_t Bind(int texunit, int num, int lastval);
|
|
void SetTextureFilterMode();
|
|
|
|
|
|
};
|
|
|
|
}
|
|
#endif
|
|
|