doesSupportManuallyMippedTextures property

bool get doesSupportManuallyMippedTextures

Whether a texture whose mip levels were uploaded by hand with Texture.overwrite (rather than generated with CommandBuffer.generateMipmap) samples with correct per-level selection. True on Metal and Vulkan; on OpenGL ES 2.0 devices without the GL_APPLE_texture_max_level extension this is false, and sampling such a texture reads as black. Check this before relying on hand-built mip chains (for example, prefiltered environment maps).

Implementation

bool get doesSupportManuallyMippedTextures {
  return _getSupportsManuallyMippedTextures();
}