doesSupportTextureArrays property

bool get doesSupportTextureArrays

Whether 2D array textures (TextureType.texture2DArray) can be created, uploaded, and sampled by shaders. True on Metal and Vulkan. Currently false on the GLES backend, where shader bundles do not yet carry a shader variant that can sample array textures.

Implementation

bool get doesSupportTextureArrays {
  return _getSupportsTextureArrays();
}