Module OgamlGraphics.Texture.CubemapMipmapFace

Mipmap level of a cubemap face

Represents a single mipmap level of a cubemap texture's face

type t
Type of a face's mipmap level
val size : t -> OgamlMath.Vector2i.t
Size of the mipmap
val write : t -> OgamlMath.IntRect.t -> Image.t -> unit
Writes an image to a subrectangle of the mipmap
val level : t -> int
Returns the mipmap level of this mipmap
val face : t -> [ `PositiveX | `PositiveY | `PositiveZ | `NegativeX | `NegativeY | `NegativeZ]
Returns the face corresponding to this face's mipmap
val bind : t -> int -> unit
System only : binds the original cubemap texture
val to_color_attachment : t -> Attachment.ColorAttachment.t
CubemapMipmapFace implements the interface ColorAttachable