MipmapLimitDescriptor(bool, string)
Creates a new MipmapLimitDescriptor.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public MipmapLimitDescriptor(bool useMipmapLimit, string groupName)
Parameters
Enable or disable mipmap limit effects for a Texture.
The TextureMipmapLimitGroup to use the mipmap limit of.
Remarks
Use a to determine whether a texture uses a mipmap limit when you create the texture using a constructor.
MipmapLimitDescriptorIf you create a texture using a script, the texture doesn't use mipmap limits by default. The texture uses the mipmap limit of if you set to . If the group is not defined (either or an empty string), the texture falls back to following the global mipmap limit.
groupNameuseMipmapLimittruenullThe texture also uses the global mipmap limit if the group is not known by the Editor.
Additional Resources:: TextureMipmapLimitGroups.