module Graphics.GL.Ext.NV.ClipSpaceWScaling (
gl_NV_clip_space_w_scaling
, glViewportPositionWScaleNV
, pattern GL_VIEWPORT_POSITION_W_SCALE_NV
, pattern GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV
, pattern GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV
) 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_NV_clip_space_w_scaling :: Bool
gl_NV_clip_space_w_scaling = member "GL_NV_clip_space_w_scaling" extensions
glViewportPositionWScaleNV :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m ()
glViewportPositionWScaleNV = ffiuintfloatfloatIOV glViewportPositionWScaleNVFunPtr
glViewportPositionWScaleNVFunPtr :: FunPtr (GLuint -> GLfloat -> GLfloat -> IO ())
glViewportPositionWScaleNVFunPtr = unsafePerformIO (getProcAddress "glViewportPositionWScaleNV")
pattern GL_VIEWPORT_POSITION_W_SCALE_NV = 0x937C
pattern GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV = 0x937D
pattern GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV = 0x937E