API

Type Alias TextureSize

TextureSize:
    | number
    | { depth?: number; height: number; layers?: number; width: number }

Type used to define a texture size (either with a number or with a rect width and height)