CubeTexture constructor

CubeTexture([
  1. dynamic images,
  2. dynamic mapping,
  3. dynamic wrapS,
  4. dynamic wrapT,
  5. dynamic magFilter,
  6. dynamic minFilter,
  7. dynamic format,
  8. dynamic type,
  9. dynamic anisotropy,
  10. dynamic encoding,
])

Implementation

CubeTexture([images, mapping, wrapS, wrapT, magFilter, minFilter, format, type,
    anisotropy, encoding])
    : super(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type,
          anisotropy, encoding) {
  images = images ?? [];
  mapping = mapping ?? CubeReflectionMapping;

  flipY = false;
}