def max_lod(self): _max_lod = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_MAX_LOD, _gl.pointer(_max_lod)) return _max_lod.value
def compare_mode(self): _compare_mode = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_COMPARE_MODE, _gl.pointer(_compare_mode)) return self.compare_modes[_compare_mode.value]
def mag_filter(self): _mag_filter = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_MAG_FILTER, _gl.pointer(_mag_filter)) return self.mag_filters[_mag_filter.value]
def wrap_r(self): _wrap_r = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_WRAP_R, _gl.pointer(_wrap_r)) return self.wrapmodes[_wrap_r.value]
def compare_func(self): _compare_func = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_COMPARE_FUNC, _gl.pointer(_compare_func)) return self.compare_funcs[_compare_func.value]
def min_lod(self): _min_lod = _gl.GLint() _gl.glGetSamplerParameteriv(self._id, _gl.GL_TEXTURE_MIN_LOD, _gl.pointer(_min_lod)) return _min_lod.value