Module Raylib.Material

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