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