SpriteTextureProcessor.ResizeToPowerOfTwo 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 ResizeToPowerOfTwo 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
[BrowsableAttribute(false)]
public override bool ResizeToPowerOfTwo { get; }
Property Value
true if resizing is enabled; false otherwise.
See Also
Reference
SpriteTextureProcessor Class
SpriteTextureProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace
Platforms
Windows 7, Windows Vista, Windows XP