Share via


TextureCaps.SupportsPower2 Property (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public ReadOnly Property SupportsPower2 As Boolean
C# public bool SupportsPower2 { get; }
C++ public:
property bool SupportsPower2 {
        bool get();
}
JScript public function get SupportsPower2() : boolean

Property Value

System.Boolean
Value that is true if the device supports texture dimensions as powers of two, or false if it does not.

This property is read-only. 

Remarks

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