Compartir a través de


TextureCaps.SupportsPower2 Property

Specifies whether the device supports all textures having widths and heights that are specified as powers of two.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public ReadOnly Property SupportsPower2 As Boolean
'Usage
Dim instance As TextureCaps
Dim value As Boolean

value = instance.SupportsPower2
public bool SupportsPower2 { get; }
public:
property bool SupportsPower2 {
    bool get ();
}
/** @property */
public boolean get_SupportsPower2 ()
public function get SupportsPower2 () : boolean
Not applicable.

Property Value

true if the device supports texture dimensions as powers of two; otherwise, false.

Remarks

This requirement does not apply to cube textures or volume textures.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

TextureCaps Structure
TextureCaps Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace