raze-gles/source/common/rendering/gl/gl_samplers.h

31 lines
357 B
C
Raw Normal View History

2020-05-28 21:48:50 +00:00
#ifndef __GL_SAMPLERS_H
#define __GL_SAMPLERS_H
2020-05-31 19:25:52 +00:00
#include "gl_hwtexture.h"
2020-05-28 21:48:50 +00:00
#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