OpenGLRaw-2.6.1.1: 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.EXT.TextureObject

Contents

Description

 

Synopsis

Extension Support

glGetEXTTextureObject :: MonadIO m => m Bool Source

Is the EXT_texture_object extension supported?

gl_EXT_texture_object :: Bool Source

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

Enums

Functions

glAreTexturesResidentEXT Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLboolean

residences pointing to n elements of type Boolean.

-> m GLboolean

of type Boolean.

glBindTextureEXT Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLuint

texture of type Texture.

-> m () 

This command is an alias for glBindTexture.

glDeleteTexturesEXT Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> m () 

glGenTexturesEXT Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> m () 

glIsTextureEXT Source

Arguments

:: MonadIO m 
=> GLuint

texture of type Texture.

-> m GLboolean

of type Boolean.

glPrioritizeTexturesEXT Source

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

textures pointing to n elements of type Texture.

-> Ptr GLclampf

priorities pointing to n elements of type ClampedFloat32.

-> m () 

This command is an alias for glPrioritizeTextures.