| DRMaterialProcessorResizeTexturesToPowerOfTwo Property |
Gets or sets a value indicating whether resizing of textures are enabled.
Namespace: DigitalRune.Graphics.Content.PipelineAssembly: 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 ResizeTexturesToPowerOfTwo { get; set; }
<DefaultValueAttribute(false)>
Public Overridable Property ResizeTexturesToPowerOfTwo As Boolean
Get
Set
public:
[DefaultValueAttribute(false)]
virtual property bool ResizeTexturesToPowerOfTwo {
bool get ();
void set (bool value);
}
[<DefaultValueAttribute(false)>]
abstract ResizeTexturesToPowerOfTwo : bool with get, set
[<DefaultValueAttribute(false)>]
override ResizeTexturesToPowerOfTwo : bool with 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
ResizeTexturesToPowerOfTwo is enabled, textures are resized to the next
largest power of two.
See Also