package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : Texture.t -> Color.t -> float -> t

create texture color value

val texture : t -> Texture.t

Material map texture

val color : t -> Color.t

Material map color

val value : t -> float

Material map value

val set_texture : t -> Texture.t -> unit
val set_color : t -> Color.t -> unit
val set_value : t -> float -> unit
OCaml

Innovation. Community. Security.