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 property is available only when developing for Windows.
Specifies whether resizing of a texture is enabled. Typically used to maximize compatability with a graphics card because many graphics cards do not support a texture size that is not a power of two. If ResizeToPowerOfTwo is enabled, the texture is 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 ResizeToPowerOfTwo { get; set; }
Property Value
true if resizing is enabled; false otherwise.
See Also
Reference
TextureProcessor Class
TextureProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace
Platforms
Windows 7, Windows Vista, Windows XP