package raylib

  1. Overview
  2. Docs

Module Raylib.TextureSource

Sourcetype t' = Raylib_fixed_types.Texture.t
Sourcetype t = t' ctyp
Sourceval t : t Ctypes.typ
Sourceval id : t -> Unsigned.uint

OpenGL texture id

Sourceval width : t -> int

Texture base width

Sourceval height : t -> int

Texture base height

Sourceval mipmaps : t -> int

Mipmap levels, 1 by default

Sourceval format : t -> PixelFormat.t

Data format (PixelFormat type)

OCaml

Innovation. Community. Security.