MaterialProcessor.ResizeTexturesToPowerOfTwo Property (Microsoft.Xna.Framework.Content.Pipeline.Processors)
Specifies whether resizing of a material is 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, the material is resized to the next largest power of two.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public bool ResizeTexturesToPowerOfTwo { get; set; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: System.Booleantrue if resizing is enabled; false otherwise.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop