gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.DirectStateAccess

Contents

Synopsis

Extension Support

gl_ARB_direct_state_access :: Bool Source #

Checks that the GL_ARB_direct_state_access extension is available.

GL_ARB_direct_state_access

glBlitNamedFramebuffer :: MonadIO m => GLuint -> GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLbitfield -> GLenum -> m () Source #

Usage: glBlitNamedFramebuffer readFramebuffer drawFramebuffer srcX0 srcY0 srcX1 srcY1 dstX0 dstY0 dstX1 dstY1 mask filter

glClearNamedBufferData :: MonadIO m => GLuint -> GLenum -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glClearNamedBufferData buffer internalformat format type data

glClearNamedBufferSubData :: MonadIO m => GLuint -> GLenum -> GLintptr -> GLsizeiptr -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glClearNamedBufferSubData buffer internalformat offset size format type data

The parameter size is a BufferSize.

glClearNamedFramebufferfi :: MonadIO m => GLuint -> GLenum -> GLint -> GLfloat -> GLint -> m () Source #

Usage: glClearNamedFramebufferfi framebuffer buffer drawbuffer depth stencil

glClearNamedFramebufferfv :: MonadIO m => GLuint -> GLenum -> GLint -> Ptr GLfloat -> m () Source #

Usage: glClearNamedFramebufferfv framebuffer buffer drawbuffer value

glClearNamedFramebufferiv :: MonadIO m => GLuint -> GLenum -> GLint -> Ptr GLint -> m () Source #

Usage: glClearNamedFramebufferiv framebuffer buffer drawbuffer value

glClearNamedFramebufferuiv :: MonadIO m => GLuint -> GLenum -> GLint -> Ptr GLuint -> m () Source #

Usage: glClearNamedFramebufferuiv framebuffer buffer drawbuffer value

glCompressedTextureSubImage1D :: MonadIO m => GLuint -> GLint -> GLint -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glCompressedTextureSubImage1D texture level xoffset width format imageSize data

glCompressedTextureSubImage2D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glCompressedTextureSubImage2D texture level xoffset yoffset width height format imageSize data

glCompressedTextureSubImage3D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glCompressedTextureSubImage3D texture level xoffset yoffset zoffset width height depth format imageSize data

glCopyNamedBufferSubData :: MonadIO m => GLuint -> GLuint -> GLintptr -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glCopyNamedBufferSubData readBuffer writeBuffer readOffset writeOffset size

The parameter size is a BufferSize.

glCopyTextureSubImage1D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage1D texture level xoffset x y width

glCopyTextureSubImage2D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage2D texture level xoffset yoffset x y width height

glCopyTextureSubImage3D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyTextureSubImage3D texture level xoffset yoffset zoffset x y width height

glFlushMappedNamedBufferRange :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glFlushMappedNamedBufferRange buffer offset length

The parameter length is a BufferSize.

glGetCompressedTextureImage :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr () -> m () Source #

Usage: glGetCompressedTextureImage texture level bufSize pixels

glGetNamedBufferPointerv :: MonadIO m => GLuint -> GLenum -> Ptr (Ptr ()) -> m () Source #

Usage: glGetNamedBufferPointerv buffer pname params

glGetNamedBufferSubData :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glGetNamedBufferSubData buffer offset size data

The parameter size is a BufferSize.

glGetQueryBufferObjecti64v :: MonadIO m => GLuint -> GLuint -> GLenum -> GLintptr -> m () Source #

Usage: glGetQueryBufferObjecti64v id buffer pname offset

glGetQueryBufferObjectiv :: MonadIO m => GLuint -> GLuint -> GLenum -> GLintptr -> m () Source #

Usage: glGetQueryBufferObjectiv id buffer pname offset

glGetQueryBufferObjectuiv :: MonadIO m => GLuint -> GLuint -> GLenum -> GLintptr -> m () Source #

Usage: glGetQueryBufferObjectuiv id buffer pname offset

glGetTextureImage :: MonadIO m => GLuint -> GLint -> GLenum -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glGetTextureImage texture level format type bufSize pixels

glGetTextureLevelParameterfv :: MonadIO m => GLuint -> GLint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetTextureLevelParameterfv texture level pname params

glGetTextureLevelParameteriv :: MonadIO m => GLuint -> GLint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetTextureLevelParameteriv texture level pname params

glGetTextureParameterIiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetTextureParameterIiv texture pname params

glGetTextureParameterIuiv :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m () Source #

Usage: glGetTextureParameterIuiv texture pname params

glGetTextureParameterfv :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetTextureParameterfv texture pname params

glGetTextureParameteriv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetTextureParameteriv texture pname params

glGetTransformFeedbacki_v :: MonadIO m => GLuint -> GLenum -> GLuint -> Ptr GLint -> m () Source #

Usage: glGetTransformFeedbacki_v xfb pname index param

glGetVertexArrayIndexed64iv :: MonadIO m => GLuint -> GLuint -> GLenum -> Ptr GLint64 -> m () Source #

Usage: glGetVertexArrayIndexed64iv vaobj index pname param

glGetVertexArrayIndexediv :: MonadIO m => GLuint -> GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetVertexArrayIndexediv vaobj index pname param

glInvalidateNamedFramebufferData :: MonadIO m => GLuint -> GLsizei -> Ptr GLenum -> m () Source #

Usage: glInvalidateNamedFramebufferData framebuffer numAttachments attachments

glInvalidateNamedFramebufferSubData :: MonadIO m => GLuint -> GLsizei -> Ptr GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glInvalidateNamedFramebufferSubData framebuffer numAttachments attachments x y width height

glMapNamedBuffer :: MonadIO m => GLuint -> GLenum -> m (Ptr ()) Source #

Usage: glMapNamedBuffer buffer access

glMapNamedBufferRange :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> GLbitfield -> m (Ptr ()) Source #

Usage: glMapNamedBufferRange buffer offset length access

The parameter length is a BufferSize.

glNamedBufferData :: MonadIO m => GLuint -> GLsizeiptr -> Ptr () -> GLenum -> m () Source #

Usage: glNamedBufferData buffer size data usage

The parameter size is a BufferSize.

glNamedBufferStorage :: MonadIO m => GLuint -> GLsizeiptr -> Ptr () -> GLbitfield -> m () Source #

Usage: glNamedBufferStorage buffer size data flags

The parameter size is a BufferSize.

The length of data should be size.

glNamedBufferSubData :: MonadIO m => GLuint -> GLintptr -> GLsizeiptr -> Ptr () -> m () Source #

Usage: glNamedBufferSubData buffer offset size data

The parameter size is a BufferSize.

The length of data should be COMPSIZE(size).

glNamedFramebufferParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m () Source #

Usage: glNamedFramebufferParameteri framebuffer pname param

glNamedFramebufferRenderbuffer :: MonadIO m => GLuint -> GLenum -> GLenum -> GLuint -> m () Source #

Usage: glNamedFramebufferRenderbuffer framebuffer attachment renderbuffertarget renderbuffer

glNamedFramebufferTexture :: MonadIO m => GLuint -> GLenum -> GLuint -> GLint -> m () Source #

Usage: glNamedFramebufferTexture framebuffer attachment texture level

glNamedFramebufferTextureLayer :: MonadIO m => GLuint -> GLenum -> GLuint -> GLint -> GLint -> m () Source #

Usage: glNamedFramebufferTextureLayer framebuffer attachment texture level layer

glNamedRenderbufferStorage :: MonadIO m => GLuint -> GLenum -> GLsizei -> GLsizei -> m () Source #

Usage: glNamedRenderbufferStorage renderbuffer internalformat width height

glNamedRenderbufferStorageMultisample :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> m () Source #

Usage: glNamedRenderbufferStorageMultisample renderbuffer samples internalformat width height

glTextureBuffer :: MonadIO m => GLuint -> GLenum -> GLuint -> m () Source #

Usage: glTextureBuffer texture internalformat buffer

glTextureBufferRange :: MonadIO m => GLuint -> GLenum -> GLuint -> GLintptr -> GLsizeiptr -> m () Source #

Usage: glTextureBufferRange texture internalformat buffer offset size

The parameter size is a BufferSize.

glTextureParameterIiv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glTextureParameterIiv texture pname params

glTextureParameterIuiv :: MonadIO m => GLuint -> GLenum -> Ptr GLuint -> m () Source #

Usage: glTextureParameterIuiv texture pname params

glTextureParameterf :: MonadIO m => GLuint -> GLenum -> GLfloat -> m () Source #

Usage: glTextureParameterf texture pname param

glTextureParameterfv :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glTextureParameterfv texture pname param

glTextureParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m () Source #

Usage: glTextureParameteri texture pname param

glTextureParameteriv :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glTextureParameteriv texture pname param

glTextureStorage1D :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> m () Source #

Usage: glTextureStorage1D texture levels internalformat width

glTextureStorage2D :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> m () Source #

Usage: glTextureStorage2D texture levels internalformat width height

glTextureStorage2DMultisample :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLboolean -> m () Source #

Usage: glTextureStorage2DMultisample texture samples internalformat width height fixedsamplelocations

glTextureStorage3D :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLsizei -> m () Source #

Usage: glTextureStorage3D texture levels internalformat width height depth

glTextureStorage3DMultisample :: MonadIO m => GLuint -> GLsizei -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLboolean -> m () Source #

Usage: glTextureStorage3DMultisample texture samples internalformat width height depth fixedsamplelocations

glTextureSubImage1D :: MonadIO m => GLuint -> GLint -> GLint -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glTextureSubImage1D texture level xoffset width format type pixels

glTextureSubImage2D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glTextureSubImage2D texture level xoffset yoffset width height format type pixels

glTextureSubImage3D :: MonadIO m => GLuint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glTextureSubImage3D texture level xoffset yoffset zoffset width height depth format type pixels

glVertexArrayAttribBinding :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #

Usage: glVertexArrayAttribBinding vaobj attribindex bindingindex

glVertexArrayAttribFormat :: MonadIO m => GLuint -> GLuint -> GLint -> GLenum -> GLboolean -> GLuint -> m () Source #

Usage: glVertexArrayAttribFormat vaobj attribindex size type normalized relativeoffset

glVertexArrayAttribIFormat :: MonadIO m => GLuint -> GLuint -> GLint -> GLenum -> GLuint -> m () Source #

Usage: glVertexArrayAttribIFormat vaobj attribindex size type relativeoffset

glVertexArrayAttribLFormat :: MonadIO m => GLuint -> GLuint -> GLint -> GLenum -> GLuint -> m () Source #

Usage: glVertexArrayAttribLFormat vaobj attribindex size type relativeoffset

glVertexArrayBindingDivisor :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #

Usage: glVertexArrayBindingDivisor vaobj bindingindex divisor

glVertexArrayVertexBuffer :: MonadIO m => GLuint -> GLuint -> GLuint -> GLintptr -> GLsizei -> m () Source #

Usage: glVertexArrayVertexBuffer vaobj bindingindex buffer offset stride

glVertexArrayVertexBuffers :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLuint -> Ptr GLintptr -> Ptr GLsizei -> m () Source #

Usage: glVertexArrayVertexBuffers vaobj first count buffers offsets strides

pattern GL_QUERY_TARGET :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_1D :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_1D_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_2D :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_2D_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_2D_MULTISAMPLE :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_3D :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_BUFFER :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_CUBE_MAP :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_CUBE_MAP_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_BINDING_RECTANGLE :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_TARGET :: forall a. (Num a, Eq a) => a Source #