Share via


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

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.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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