Format
typescript
Texture.GenerateMipmaps()class: Texture
Description
Generate mipmap.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
boolean | Whether the generation is successful. |
Code Example
typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.GenerateMipmaps();