Source code for picogl.core.texture_clamp

"""
This module provides functionality for handling OpenGL texture clamping constants
and related operations. It includes the `GLTextureClamp` class containing clamping
constants that can be used in texture operations.

Classes:
- GLTextureClamp: Represents OpenGL texture clamping constants.
"""

from OpenGL.GL import GL_CLAMP_TO_BORDER, GL_CLAMP_TO_EDGE


[docs] class GLTextureClamp: """gl Texture Clamping Constants."""
[docs] TO_EDGE = GL_CLAMP_TO_EDGE
[docs] TO_BORDER = GL_CLAMP_TO_BORDER