OpenGLRaw-3.3.4.1: A raw binding for the OpenGL graphics system
Copyright(c) Sven Panne 2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.DirectStateAccess

Description

 
Synopsis

Extension Support

gl_ARB_direct_state_access :: Bool Source #

Is the ARB_direct_state_access extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBDirectStateAccess in those cases instead.

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 of type ClearBufferMask.

-> GLenum

filter of type BlitFramebufferFilter.

-> m () 

Manual page for OpenGL 4.x.

glCheckNamedFramebufferStatus Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

target of type FramebufferTarget.

-> m GLenum

of type FramebufferStatus.

Manual page for OpenGL 4.x.

glClearNamedBufferData Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

internalformat of type InternalFormat.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x.

glClearNamedBufferSubData Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

internalformat of type InternalFormat.

-> GLintptr

offset.

-> GLsizeiptr

size of type BufferSize.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

data.

-> m () 

Manual page for OpenGL 4.x.

glClearNamedFramebufferfi Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer of type Buffer.

-> GLint

drawbuffer.

-> GLfloat

depth.

-> GLint

stencil.

-> m () 

Manual page for OpenGL 4.x.

glClearNamedFramebufferfv Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer of type Buffer.

-> GLint

drawbuffer.

-> Ptr GLfloat

value.

-> m () 

Manual page for OpenGL 4.x.

glClearNamedFramebufferiv Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer of type Buffer.

-> GLint

drawbuffer.

-> Ptr GLint

value.

-> m () 

Manual page for OpenGL 4.x.

glClearNamedFramebufferuiv Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

buffer of type 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 of type PixelFormat.

-> 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 of type PixelFormat.

-> 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 of type PixelFormat.

-> 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 pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateFramebuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

framebuffers pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateProgramPipelines Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateQueries Source #

Arguments

:: MonadIO m 
=> GLenum

target of type QueryTarget.

-> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateRenderbuffers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

renderbuffers pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateSamplers Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

samplers pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateTextures Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateTransformFeedbacks Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

ids pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glCreateVertexArrays Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

arrays pointing to n elements of type GLuint.

-> 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 of type VertexBufferObjectParameter.

-> Ptr GLint64

params.

-> m () 

Manual page for OpenGL 4.x.

glGetNamedBufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

pname of type VertexBufferObjectParameter.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetNamedBufferPointerv Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

pname of type VertexBufferObjectParameter.

-> 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 of type FramebufferAttachment.

-> GLenum

pname of type FramebufferAttachmentParameterName.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetNamedFramebufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

pname of type GetFramebufferParameter.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glGetNamedRenderbufferParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLenum

pname of type RenderbufferParameterName.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetQueryBufferObjecti64v Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname of type QueryObjectParameterName.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname of type QueryObjectParameterName.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectui64v Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname of type QueryObjectParameterName.

-> GLintptr

offset.

-> m () 

glGetQueryBufferObjectuiv Source #

Arguments

:: MonadIO m 
=> GLuint

id.

-> GLuint

buffer.

-> GLenum

pname of type QueryObjectParameterName.

-> GLintptr

offset.

-> m () 

glGetTextureImage Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> GLsizei

bufSize.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureLevelParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLfloat

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureLevelParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureParameterIiv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLuint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLfloat

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTextureParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type GetTextureParameter.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glGetTransformFeedbacki64_v Source #

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname of type TransformFeedbackPName.

-> GLuint

index.

-> Ptr GLint64

param.

-> m () 

Manual page for OpenGL 4.x.

glGetTransformFeedbacki_v Source #

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname of type TransformFeedbackPName.

-> GLuint

index.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glGetTransformFeedbackiv Source #

Arguments

:: MonadIO m 
=> GLuint

xfb.

-> GLenum

pname of type TransformFeedbackPName.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glGetVertexArrayIndexed64iv Source #

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> GLenum

pname of type VertexArrayPName.

-> Ptr GLint64

param.

-> m () 

Manual page for OpenGL 4.x.

glGetVertexArrayIndexediv Source #

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

index.

-> GLenum

pname of type VertexArrayPName.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glGetVertexArrayiv Source #

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLenum

pname of type VertexArrayPName.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateNamedFramebufferData Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments pointing to elements of type FramebufferAttachment.

-> m () 

Manual page for OpenGL 4.x.

glInvalidateNamedFramebufferSubData Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

numAttachments.

-> Ptr GLenum

attachments pointing to elements of type FramebufferAttachment.

-> GLint

x.

-> GLint

y.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glMapNamedBuffer Source #

Arguments

:: MonadIO m 
=> GLuint

buffer.

-> GLenum

access of type BufferAccessARB.

-> 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 of type MapBufferAccessMask.

-> 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 of type VertexBufferObjectUsage.

-> 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 of type BufferStorageMask.

-> 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 of type ColorBuffer.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferDrawBuffers Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLsizei

n.

-> Ptr GLenum

bufs pointing to elements of type ColorBuffer.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

pname of type FramebufferParameterName.

-> GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferReadBuffer Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

src of type ColorBuffer.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferRenderbuffer Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment of type FramebufferAttachment.

-> GLenum

renderbuffertarget of type RenderbufferTarget.

-> GLuint

renderbuffer.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferTexture Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment of type FramebufferAttachment.

-> GLuint

texture.

-> GLint

level.

-> m () 

Manual page for OpenGL 4.x.

glNamedFramebufferTextureLayer Source #

Arguments

:: MonadIO m 
=> GLuint

framebuffer.

-> GLenum

attachment of type FramebufferAttachment.

-> GLuint

texture.

-> GLint

level.

-> GLint

layer.

-> m () 

Manual page for OpenGL 4.x.

glNamedRenderbufferStorage Source #

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glNamedRenderbufferStorageMultisample Source #

Arguments

:: MonadIO m 
=> GLuint

renderbuffer.

-> GLsizei

samples.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glTextureBuffer Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

internalformat of type InternalFormat.

-> GLuint

buffer.

-> m () 

Manual page for OpenGL 4.x.

glTextureBufferRange Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

internalformat of type 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 of type TextureParameterName.

-> Ptr GLint

params.

-> m () 

Manual page for OpenGL 4.x.

glTextureParameterIuiv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLuint

params.

-> m () 

Manual page for OpenGL 4.x.

glTextureParameterf Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type TextureParameterName.

-> GLfloat

param.

-> m () 

Manual page for OpenGL 4.x.

glTextureParameterfv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLfloat

param.

-> m () 

Manual page for OpenGL 4.x.

glTextureParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type TextureParameterName.

-> GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glTextureParameteriv Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLenum

pname of type TextureParameterName.

-> Ptr GLint

param.

-> m () 

Manual page for OpenGL 4.x.

glTextureStorage1D Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> m () 

Manual page for OpenGL 4.x.

glTextureStorage2D Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glTextureStorage2DMultisample Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

samples.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

Manual page for OpenGL 4.x.

glTextureStorage3D Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLsizei

levels.

-> GLenum

internalformat of type 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 of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLboolean

fixedsamplelocations of type Boolean.

-> m () 

Manual page for OpenGL 4.x.

glTextureSubImage1D Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> 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 of type PixelFormat.

-> GLenum

type of type PixelType.

-> 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 of type PixelFormat.

-> GLenum

type of type PixelType.

-> 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

of type Boolean.

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 of type VertexAttribType.

-> GLboolean

normalized of type Boolean.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x.

glVertexArrayAttribIFormat Source #

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLint

size.

-> GLenum

type of type VertexAttribIType.

-> GLuint

relativeoffset.

-> m () 

Manual page for OpenGL 4.x.

glVertexArrayAttribLFormat Source #

Arguments

:: MonadIO m 
=> GLuint

vaobj.

-> GLuint

attribindex.

-> GLint

size.

-> GLenum

type of type VertexAttribLType.

-> 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.