Enum TexturesExtension.MipMapModeEnum
Mipmap Mode enumeration. Determines how mipmap levels are written into the layer's swapchain.
Namespace: Unity.XR.CompositionLayers.Extensions
Assembly: Unity.XR.CompositionLayers.dll
Syntax
public enum TexturesExtension.MipMapModeEnum
Fields
| Name | Description |
|---|---|
| AutoGenerate | Blit mip level 0 into the swapchain image, then derive the lower mip levels with GenerateMips(). Use when the source texture cannot be copied directly (eg. compressed or cross-format sources). |
| CopyFromSource | Copy every authored mip level directly from the source texture into the swapchain image. Requires a source whose format is compatible with CopyTexture(Texture,Texture). |
| None | This is the default. No mipmaps. The swapchain is created single-mip. |