package raylib

  1. Overview
  2. Docs
type t = t' ctyp
val t : t Ctypes.typ
val create : Unsigned.uint -> int -> int -> int -> PixelFormat.t -> t

create id width height mipmaps format

val id : t -> Unsigned.uint

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)

OCaml

Innovation. Community. Security.