-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.GREMEDY.StringMarker (
  -- * Extension Support
    gl_GREMEDY_string_marker

  -- * GL_GREMEDY_string_marker
  , glStringMarkerGREMEDY
) 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

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/GREMEDY/string_marker.txt GL_GREMEDY_string_marker> extension is available.

gl_GREMEDY_string_marker :: Bool
gl_GREMEDY_string_marker :: Bool
gl_GREMEDY_string_marker = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_GREMEDY_string_marker" Set [Char]
extensions
{-# NOINLINE gl_GREMEDY_string_marker #-}

-- | Usage: @'glStringMarkerGREMEDY' len string@
--
-- The length of @string@ should be @len@.


glStringMarkerGREMEDY :: MonadIO m => GLsizei -> Ptr () -> m ()
glStringMarkerGREMEDY :: GLsizei -> Ptr () -> m ()
glStringMarkerGREMEDY = FunPtr (GLsizei -> Ptr () -> IO ()) -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLsizei -> Ptr () -> IO ()) -> GLsizei -> Ptr () -> m ()
ffisizeiPtrVIOV FunPtr (GLsizei -> Ptr () -> IO ())
glStringMarkerGREMEDYFunPtr

glStringMarkerGREMEDYFunPtr :: FunPtr (GLsizei -> Ptr () -> IO ())
glStringMarkerGREMEDYFunPtr :: FunPtr (GLsizei -> Ptr () -> IO ())
glStringMarkerGREMEDYFunPtr = IO (FunPtr (GLsizei -> Ptr () -> IO ()))
-> FunPtr (GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glStringMarkerGREMEDY")

{-# NOINLINE glStringMarkerGREMEDYFunPtr #-}