module Graphics.GL.Ext.EXT.PolygonOffset (
gl_EXT_polygon_offset
, glPolygonOffsetEXT
, pattern GL_POLYGON_OFFSET_BIAS_EXT
, pattern GL_POLYGON_OFFSET_EXT
, pattern GL_POLYGON_OFFSET_FACTOR_EXT
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_polygon_offset :: Bool
gl_EXT_polygon_offset = member "GL_EXT_polygon_offset" extensions
glPolygonOffsetEXT :: MonadIO m => GLfloat -> GLfloat -> m ()
glPolygonOffsetEXT = ffifloatfloatIOV glPolygonOffsetEXTFunPtr
glPolygonOffsetEXTFunPtr :: FunPtr (GLfloat -> GLfloat -> IO ())
glPolygonOffsetEXTFunPtr = unsafePerformIO (getProcAddress "glPolygonOffsetEXT")
pattern GL_POLYGON_OFFSET_BIAS_EXT = 0x8039
pattern GL_POLYGON_OFFSET_EXT = 0x8037
pattern GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038