42 switch(samplerState->
filter)
77 LogWarning(
"GL4 does not support samplerState filter = " + samplerState->
filter);
88 return std::make_shared<GL4SamplerState>(
#define GL_TEXTURE_WRAP_T
#define GL_CLAMP_TO_BORDER
#define GL_MIRRORED_REPEAT
void APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
static GLint const msMode[]
#define GL_TEXTURE_MAG_FILTER
void APIENTRY glGenSamplers(GLsizei count, GLuint *samplers)
#define GL_LINEAR_MIPMAP_NEAREST
void APIENTRY glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
#define GL_TEXTURE_WRAP_R
GraphicsObjectType GetType() const
virtual ~GL4SamplerState()
GL4SamplerState(SamplerState const *samplerState)
#define GL_NEAREST_MIPMAP_LINEAR
#define GL_NEAREST_MIPMAP_NEAREST
#define LogError(message)
Vector4< float > borderColor
void APIENTRY glDeleteSamplers(GLsizei count, const GLuint *samplers)
void APIENTRY glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
#define GL_TEXTURE_MIN_LOD
#define GL_TEXTURE_MIN_FILTER
#define LogWarning(message)
static std::shared_ptr< GEObject > Create(void *unused, GraphicsObject const *object)
#define GL_TEXTURE_WRAP_S
#define GL_TEXTURE_BORDER_COLOR
#define GL_TEXTURE_MAX_LOD
#define GL_LINEAR_MIPMAP_LINEAR
#define GL_TEXTURE_LOD_BIAS