ModelProcessor.ResizeTexturesToPowerOfTwo Property

Note

This property is available only when developing for Windows.

Specifies whether resizing of textures are enabled. Typically used to maximize compatability with a graphics card because many graphics cards do not support a material size that is not a power of two. If ResizeTexturesToPowerOfTwo is enabled, textures are resized to the next largest power of two.

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

Syntax

public virtual bool ResizeTexturesToPowerOfTwo { get; set; }

Property Value

true if resizing is enabled; false otherwise.

See Also

Reference

ModelProcessor Class
ModelProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP