Click or drag to resize
DigitalRuneDRTextureProcessorResizeToPowerOfTwo Property
Gets or sets a value indicating whether the texture is resized to the next largest power of two.

Namespace: DigitalRune.Graphics.Content.Pipeline
Assembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax
[DefaultValueAttribute(false)]
public virtual bool ResizeToPowerOfTwo { get; set; }

Property Value

Type: Boolean
if resizing is enabled; otherwise.
Remarks
Typically used to maximize compatibility 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.
See Also