共用方式為


TextureContent.GenerateMipmaps Method

Generates a full set of mipmaps for the texture.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public virtual void GenerateMipmaps (
         bool overwriteExistingMipmaps
)

Parameters

  • overwriteExistingMipmaps
    true if the existing mipmap set is replaced with the new set; false otherwise.

See Also

Reference

TextureContent Class
TextureContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista