MirrorOnce
Mirrors the texture once, then clamps to edge pixels.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
MirrorOnce = 3
Remarks
This effectively mirrors the texture around zero UV coordinates, and repeats edge pixel values when outside of [-1..1] range.
This mode is called "mirror and clamp to edge" in graphics APIs like Vulkan, Metal and OpenGL. This feature is not always supported when using OpenGL ES and Vulkan graphics APIs, specifically on ARM and Qualcomm GPUs platforms. Check SystemInfo.supportsTextureWrapMirrorOnce to figure out whether the system is capable..