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

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

Graphics.GL.ARB.GetTextureSubImage

Contents

Description

 

Synopsis

Extension Support

gl_ARB_get_texture_sub_image :: Bool Source #

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

Functions

glGetCompressedTextureSubImage Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLint

xoffset.

-> GLint

yoffset.

-> GLint

zoffset.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLsizei

bufSize.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x.

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

-> GLsizei

bufSize.

-> Ptr a

pixels.

-> m () 

Manual page for OpenGL 4.x.