rB2aad8fc7bc2a introduced sampler enums in a crude and poorly documented way.
This patch proposes to expose these parameters in a safer and more documented way.
Description as seen in console:
>>> gpu.types.GPUShader.uniform_sampler( uniform_sampler(name, texture, filter='NEAREST', repeat=[False, False, False], use_mipmap=False, clamp_to_border_color=False, compare_enabled=False) .. method:: uniform_sampler(name, texture, filter='NEAREST', repeat=[False, False, False], use_mipmap=False, clamp_to_border_color=False, compare_enabled=False) Specify the texture and state for an uniform sampler in the current GPUShader. :param name: name of the uniform variable whose texture is to be specified. :type name: str :param texture: texture to attach. :type texture: :class:`gpu.types.GPUTexture` :param filter: filtering option which can be 'NEAREST', 'LINEAR' or 'ANISO'. :type filter: str :param repeat: Three-dimensional array specifying the addressing mode for outside [0..1] range for U, V and W coordinates. :type repeat: tuple :param use_mipmap: specify the mipmap filter to apply to lookups. :type use_mipmap: bool :param clamp_to_border_color: clamp to border color instead of border texel. :type clamp_to_border_color: bool :param compare_enabled: compare mode for depth formats. :type compare_enabled: bool