Module Raylib_types.Texture

type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : TextureId.t -> int -> int -> int -> PixelFormat.t -> t

create id width height mipmaps format

val id : t -> TextureId.t

OpenGL texture id

val width : t -> int

Texture base width

val height : t -> int

Texture base height

val mipmaps : t -> int

Mipmap levels, 1 by default

val format : t -> PixelFormat.t

Data format (PixelFormat type)