package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val t : t Ctypes.typ
val shader : t -> Shader.t

Material shader

val maps : t -> MaterialMap.t CArray.t

Material maps array (MAX_MATERIAL_MAPS)

val params : t -> float Ctypes_static.carray

Material generic parameters (if required)

val set_shader : t -> Shader.t -> unit
val set_maps : t -> MaterialMap.t CArray.t -> unit
val set_params : t -> float -> float -> float -> float -> unit
OCaml

Innovation. Community. Security.