Module OgamlGraphics.Texture.CubemapCubemap textures
This module provides an abstraction of OpenGL's cubemap textures
Creates a cubemap texture from 6 textures, images or empty layers of a given dimension. Generates all mipmaps by default.
Texture_errorif the requested size exceeds the maximal texture size allowed by the context.
Texture_errorif the 6 textures, images or empty layers do not have the same dimensions.
Size of a face of a cubemap texture
Sets the minifying filter of a texture. Defaults as LinearMipmapLinear.
Sets the magnifying filter of a texture. Defaults as Linear.
Sets the wrapping function of a texture. Defaults as ClampEdge.
Returns the number of mipmap levels of a texture
Returns a particular mipmap level of a texture
Returns a particular face of a texture
System only : binds the texture for drawing