Module OgamlGraphics.Texture.Texture2DArrayMipmap

Represents a mipmap level of a 2D texture array

This module gives an abstract representation of a mipmap level of a 2D texture array (that is, a mipmap array)

type t
Type of a mipmap
val size : t -> OgamlMath.Vector3i.t
Size of a mipmap
val layers : t -> int
Number of layers in the array of mipmaps
val level : t -> int
Returns the mipmap's level
val layer : t -> int -> Texture2DArrayLayerMipmap.t
Returns the mipmap of a particular layer Raises Invalid_argument if the layer does not exist.