Module Metal.Size

Represents the dimensions of a grid, region, or threadgroup. See MTLSize.

type t = {
  1. width : int;
  2. height : int;
  3. depth : int;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
type mtl
val sexp_of_mtl : mtl -> Sexplib0.Sexp.t
val from_struct : mtl -> t
val to_value : t -> mtl
val make : width:int -> height:int -> depth:int -> mtl