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

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

Graphics.GL.ARB.TextureStorage

Contents

Description

 

Synopsis

Extension Support

glGetARBTextureStorage :: MonadIO m => m Bool Source #

Is the ARB_texture_storage extension supported?

gl_ARB_texture_storage :: Bool Source #

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

Enums

Functions

glTexStorage1D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage2D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

Manual page for OpenGL 4.x.

glTexStorage3D Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLsizei

levels.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> m () 

Manual page for OpenGL 4.x.