cate a new texture.

The texture should be a Texture-2D, with the specified with, height,
data, channels, and filtering.

DATA should be an (UNSIGNED-BYTE 8) vector.
CHANNELS should be one of the following, specifying the associated
internal format and pixel format:

  1 :RED
  2 :RG
  3 :RGB
  4 :RGBA

The texture swizzling should be applied as follows:

  1 :RED :RED :RED :ONE
  2 :RED :RED :RED :GREEN
  3 :RED :GREEN :BLUE :ONE
  4 :RED :GREEN :BLUE :ALPHA

FILTERING specifies the min and mag filter of t