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

Contents

Description

 

Synopsis

Extension Support

glGetINTELMapTexture :: MonadIO m => m Bool Source #

Is the INTEL_map_texture extension supported?

gl_INTEL_map_texture :: Bool Source #

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

Enums

Functions

glMapTexture2DINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> GLbitfield

access.

-> Ptr GLint

stride pointing to 1 element of type GLint.

-> Ptr GLenum

layout pointing to 1 element of type GLenum.

-> m (Ptr a) 

glSyncTextureINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> m () 

glUnmapTexture2DINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

texture.

-> GLint

level.

-> m ()