"""
GL Point size Enums
"""
from enum import IntEnum
from OpenGL.raw.GL.VERSION.GL_2_0 import GL_POINT_SPRITE, GL_VERTEX_PROGRAM_POINT_SIZE
from OpenGL.raw.GL.VERSION.GL_3_2 import GL_PROGRAM_POINT_SIZE
[docs]
class GLPointCapability(IntEnum):
"""Modern point rendering capabilities."""
[docs]
PROGRAM_POINT_SIZE = GL_PROGRAM_POINT_SIZE
[docs]
class GLLegacyPointCapability(IntEnum):
"""Legacy / deprecated point rendering features."""
[docs]
POINT_SPRITE = GL_POINT_SPRITE
[docs]
VERTEX_PROGRAM_POINT_SIZE = GL_VERTEX_PROGRAM_POINT_SIZE