Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Generates a full set of mipmaps for the texture.
Syntax
'Declaration
Public Overridable Sub GenerateMipmaps ( _
overwriteExistingMipmaps As Boolean _
)
public virtual void GenerateMipmaps (
bool overwriteExistingMipmaps
)
public:
virtual void GenerateMipmaps(
bool overwriteExistingMipmaps
)
Parameters
- overwriteExistingMipmaps
Type: Boolean
true if the existing mipmap set is replaced with the new set; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
TextureContent Class
TextureContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP