Module OgamlGraphics.Texture

High-level wrapper around GL textures

Submodules

Cubemap Cubemap textures
CubemapMipmap Mipmap level of a cubemap texture
CubemapFace Cubemap face
CubemapMipmapFace Mipmap level of a cubemap face
Texture2DArray Represents arrays of 2D textures
Texture2DArrayLayer Represents a layer of a 2D texture array
Texture2DArrayMipmap Represents a mipmap level of a 2D texture array
Texture2DArrayLayerMipmap Represents a layer's mipmap of a 2D texture array
Texture2D Represents a simple 2D texture
Texture2DMipmap Represents a mipmap level of a 2D texture
WrapFunction Module containing an enumeration of the wrapping functions
MagnifyFilter Module containing an enumeration of the magnifying filters
MinifyFilter Module containing an enumeration of the minifying filters

Signatures

T Common signature for all texture types

This module provides wrappers around different kinds of OpenGL textures

exception Texture_error of string
Raised if an error occurs while manipulating a texture