Module Texture.Descriptor

Texture descriptors.

type t

The type for GPUTextureDescriptor objects.

val v : ?label:Jstr.t -> ?mip_level_count:int -> ?sample_count:int -> ?dimension:Dimension.t -> ?view_formats:Format.t list -> size:Extent_3d.t -> format:Format.t -> usage:Usage.t -> unit -> t

v constructs a GPUTextureDescriptor objects with given parameters.