Module OgamlGraphics.Texture.CubemapMipmap

Mipmap level of a cubemap texture

Represents a single mipmap level of a cubemap texture

type t
Type of a mipmap level
val size : t -> OgamlMath.Vector2i.t
Size of a face of a mipmap
val level : t -> int
Returns the level associated to a mipmap
val face : t -> [ `PositiveX | `PositiveY | `PositiveZ | `NegativeX | `NegativeY | `NegativeZ] -> CubemapMipmapFace.t
Returns a particular face of this mipmap
val bind : t -> int -> unit
System only : binds the original texture for drawing