raze/source/common/rendering/gl/gl_samplers.h
2020-05-28 23:48:50 +02:00

29 lines
331 B
C++

#ifndef __GL_SAMPLERS_H
#define __GL_SAMPLERS_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