-- This file was automatically generated. {-# LANGUAGE ScopedTypeVariables, PatternSynonyms #-} module Graphics.GL.Raw.Extension.EXT.MultisampledRenderToTexture ( -- * Extension Support gl_EXT_multisampled_render_to_texture -- * GL_EXT_multisampled_render_to_texture , glFramebufferTexture2DMultisampleEXT , glRenderbufferStorageMultisampleEXT , pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT , pattern GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT , pattern GL_MAX_SAMPLES_EXT , pattern GL_RENDERBUFFER_SAMPLES_EXT ) where import Control.Monad.IO.Class import Data.Set import Foreign.Ptr import Graphics.GL.Raw.Internal.FFI import Graphics.GL.Raw.Internal.Proc import Graphics.GL.Raw.Internal.Shared import Graphics.GL.Raw.Types import System.IO.Unsafe -- | Checks that the GL_EXT_multisampled_render_to_texture extension is available. gl_EXT_multisampled_render_to_texture :: Bool gl_EXT_multisampled_render_to_texture = member "GL_EXT_multisampled_render_to_texture" extensions {-# NOINLINE gl_EXT_multisampled_render_to_texture #-} -- | Usage: @'glFramebufferTexture2DMultisampleEXT' target attachment textarget texture level samples@ glFramebufferTexture2DMultisampleEXT :: MonadIO m => GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLsizei -> m () glFramebufferTexture2DMultisampleEXT = ffienumenumenumuintintsizeiIOV glFramebufferTexture2DMultisampleEXTFunPtr glFramebufferTexture2DMultisampleEXTFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLuint -> GLint -> GLsizei -> IO ()) glFramebufferTexture2DMultisampleEXTFunPtr = unsafePerformIO (getProcAddress "glFramebufferTexture2DMultisampleEXT") {-# NOINLINE glFramebufferTexture2DMultisampleEXTFunPtr #-} pattern GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT = 0x8D6C