OpenGLRaw-2.5.0.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2015
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.ARB.DirectStateAccess

Contents

Description

Synopsis

Enums

Functions

glBindTextureUnit Source

Arguments

:: MonadIO m 
=> GLuint

unit.

-> GLuint

texture.

-> m () 

Manual page for OpenGL 4.x

glBlitNamedFramebuffer Source

Arguments

:: MonadIO m 
=> GLuint

readFramebuffer.

-> GLuint

drawFramebuffer.

-> GLint

srcX0.

-> GLint

srcY0.

-> GLint

srcX1.

-> GLint

srcY1.

-> GLint

dstX0.

-> GLint

dstY0.

-> GLint

dstX1.

-> GLint

dstY1.

-> GLbitfield

mask.

-> GLenum

filter.

-> m () 

Manual page for OpenGL 4.x

glCheckNamedFramebufferStatus Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

target.

-> m GLenum 

Manual page for OpenGL 4.x

glClearNamedBufferData Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

internalformat.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glClearNamedBufferSubData Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

internalformat.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glClearNamedFramebufferfi Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer.

-> GLfloat

depth.

-> GLint

stencil.

-> m () 

Manual page for OpenGL 4.x

glClearNamedFramebufferfv Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer.

-> GLint

drawbuffer.

-> Ptr GLfloat

value.

-> m () 

Manual page for OpenGL 4.x

glClearNamedFramebufferiv Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer.

-> GLint

drawbuffer.

-> Ptr GLint

value.

-> m () 

Manual page for OpenGL 4.x

glClearNamedFramebufferuiv Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer.

-> GLint

drawbuffer.

-> Ptr GLuint

value.

-> m () 

Manual page for OpenGL 4.x

glCompressedTextureSubImage1D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLsizei

width.

-> GLenum

format.

-> GLsizei

imageSize.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glCompressedTextureSubImage2D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format.

-> GLsizei

imageSize.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glCompressedTextureSubImage3D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

zoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format.

-> GLsizei

imageSize.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glCopyNamedBufferSubData Source

Arguments

:: MonadIO m 
=> GLuint

readBuffer.

-> GLuint

writeBuffer.

-> GLintptr

readOffset.

-> GLintptr

writeOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

Manual page for OpenGL 4.x

glCopyTextureSubImage1D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> m () 

Manual page for OpenGL 4.x

glCopyTextureSubImage2D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glCopyTextureSubImage3D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

zoffset.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glCreateBuffers Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

buffers.

-> m () 

Manual page for OpenGL 4.x

glCreateFramebuffers Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers.

-> m () 

Manual page for OpenGL 4.x

glCreateProgramPipelines Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines.

-> m () 

Manual page for OpenGL 4.x

glCreateQueries Source

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

n.

-> Ptr GLuint

ids.

-> m () 

Manual page for OpenGL 4.x

glCreateRenderbuffers Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

renderbuffers.

-> m () 

Manual page for OpenGL 4.x

glCreateSamplers Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

samplers.

-> m () 

Manual page for OpenGL 4.x

glCreateTextures Source

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLsizei

n.

-> Ptr GLuint

textures.

-> m () 

Manual page for OpenGL 4.x

glCreateTransformFeedbacks Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids.

-> m () 

Manual page for OpenGL 4.x

glCreateVertexArrays Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

arrays.

-> m () 

Manual page for OpenGL 4.x

glDisableVertexArrayAttrib Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> m () 

Manual page for OpenGL 4.x

glEnableVertexArrayAttrib Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> m () 

Manual page for OpenGL 4.x

glFlushMappedNamedBufferRange Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

length of type BufferSize.

-> m () 

Manual page for OpenGL 4.x

glGenerateTextureMipmap Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> m () 

Manual page for OpenGL 4.x

glGetCompressedTextureImage Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLsizei

bufSize.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x

glGetNamedBufferParameteri64v Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

pname.

-> Ptr GLint64

params.

-> m () 

Manual page for OpenGL 4.x

glGetNamedBufferParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetNamedBufferPointerv Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

pname.

-> Ptr (Ptr a)

params.

-> m () 

Manual page for OpenGL 4.x

glGetNamedBufferSubData Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x

glGetNamedFramebufferAttachmentParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetNamedFramebufferParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

pname.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glGetNamedRenderbufferParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetQueryBufferObjecti64v Source

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectiv Source

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectui64v Source

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectuiv Source

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname.

-> GLintptr

offset.

-> m () 

glGetTextureImage Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

format.

-> GLenum

type.

-> GLsizei

bufSize.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x

glGetTextureLevelParameterfv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

pname.

-> Ptr GLfloat

params.

-> m () 

Manual page for OpenGL 4.x

glGetTextureLevelParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetTextureParameterIiv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetTextureParameterIuiv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLuint

params.

-> m () 

Manual page for OpenGL 4.x

glGetTextureParameterfv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLfloat

params.

-> m () 

Manual page for OpenGL 4.x

glGetTextureParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glGetTransformFeedbacki64_v Source

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname.

-> GLuint

index.

-> Ptr GLint64

param.

-> m () 

Manual page for OpenGL 4.x

glGetTransformFeedbacki_v Source

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname.

-> GLuint

index.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glGetTransformFeedbackiv Source

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glGetVertexArrayIndexed64iv Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> GLenum

pname.

-> Ptr GLint64

param.

-> m () 

Manual page for OpenGL 4.x

glGetVertexArrayIndexediv Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> GLenum

pname.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glGetVertexArrayiv Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLenum

pname.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glInvalidateNamedFramebufferData Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments.

-> m () 

Manual page for OpenGL 4.x

glInvalidateNamedFramebufferSubData Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glMapNamedBuffer Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

access.

-> m (Ptr a) 

Manual page for OpenGL 4.x

glMapNamedBufferRange Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

length of type BufferSize.

-> GLbitfield

access.

-> m (Ptr a) 

Manual page for OpenGL 4.x

glNamedBufferData Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data.

-> GLenum

usage.

-> m () 

Manual page for OpenGL 4.x

glNamedBufferStorage Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to size elements of type a.

-> GLbitfield

flags.

-> m () 

Manual page for OpenGL 4.x

glNamedBufferSubData Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> Ptr a

data pointing to COMPSIZE(size) elements of type a.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferDrawBuffer Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buf.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferDrawBuffers Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

n.

-> Ptr GLenum

bufs.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferParameteri Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

pname.

-> GLint

param.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferReadBuffer Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

src.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferRenderbuffer Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment.

-> GLenum

renderbuffertarget.

-> GLuint

renderbuffer.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferTexture Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment.

-> GLuint

texture.

-> GLint

level.

-> m () 

Manual page for OpenGL 4.x

glNamedFramebufferTextureLayer Source

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment.

-> GLuint

texture.

-> GLint

level.

-> GLint

layer.

-> m () 

Manual page for OpenGL 4.x

glNamedRenderbufferStorage Source

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glNamedRenderbufferStorageMultisample Source

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glTextureBuffer Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

internalformat.

-> GLuint

buffer.

-> m () 

Manual page for OpenGL 4.x

glTextureBufferRange Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

internalformat.

-> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

Manual page for OpenGL 4.x

glTextureParameterIiv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x

glTextureParameterIuiv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLuint

params.

-> m () 

Manual page for OpenGL 4.x

glTextureParameterf Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> GLfloat

param.

-> m () 

Manual page for OpenGL 4.x

glTextureParameterfv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLfloat

param.

-> m () 

Manual page for OpenGL 4.x

glTextureParameteri Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> GLint

param.

-> m () 

Manual page for OpenGL 4.x

glTextureParameteriv Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x

glTextureStorage1D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat.

-> GLsizei

width.

-> m () 

Manual page for OpenGL 4.x

glTextureStorage2D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x

glTextureStorage2DMultisample Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedsamplelocations.

-> m () 

Manual page for OpenGL 4.x

glTextureStorage3D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> m () 

Manual page for OpenGL 4.x

glTextureStorage3DMultisample Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

samples.

-> GLenum

internalformat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedsamplelocations.

-> m () 

Manual page for OpenGL 4.x

glTextureSubImage1D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLsizei

width.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x

glTextureSubImage2D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x

glTextureSubImage3D Source

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

zoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format.

-> GLenum

type.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x

glTransformFeedbackBufferBase Source

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLuint

index.

-> GLuint

buffer.

-> m () 

Manual page for OpenGL 4.x

glTransformFeedbackBufferRange Source

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

Manual page for OpenGL 4.x

glUnmapNamedBuffer Source

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> m GLboolean 

Manual page for OpenGL 4.x

glVertexArrayAttribBinding Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLuint

bindingindex.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayAttribFormat Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLint

size.

-> GLenum

type.

-> GLboolean

normalized.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayAttribIFormat Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLint

size.

-> GLenum

type.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayAttribLFormat Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLint

size.

-> GLenum

type.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayBindingDivisor Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

bindingindex.

-> GLuint

divisor.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayElementBuffer Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

buffer.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayVertexBuffer Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

bindingindex.

-> GLuint

buffer.

-> GLintptr

offset.

-> GLsizei

stride.

-> m () 

Manual page for OpenGL 4.x

glVertexArrayVertexBuffers Source

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

first.

-> GLsizei

count.

-> Ptr GLuint

buffers.

-> Ptr GLintptr

offsets.

-> Ptr GLsizei

strides.

-> m () 

Manual page for OpenGL 4.x