D3DMPTEXTURECAPS Values

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows values that are used in the TextureCaps member of the D3DMCAPS structure to describe texture mapping capabilities.

Value Description

D3DMPTEXTURECAPS_PERSPECTIVE

Indicates that the device supports perspective-correct texture mapping. This corresponds to the D3DMRS_TEXTUREPERSPECTIVE render state (see D3DMRENDERSTATETYPE).

D3DMPTEXTURECAPS_POW2

Indicates that all textures must have widths and heights that are powers of 2.

D3DMPTEXTURECAPS_ALPHA

Indicates that the device supports alpha in texels.

D3DMPTEXTURECAPS_SQUAREONLY

Indicates that the device only supports square texture maps.

D3DMPTEXTURECAPS_ALPHAPALETTE

Indicates that the device supports pulling alpha from the palette when using palletized texture maps.

D3DMPTEXTURECAPS_PROJECTEDSUPPORT

Indicates that the method used to perform texture perspective divides is as defined by D3DMPTEXTURECAPS_PROJECTED.

If this value is not set then projective texture divides are not available.

D3DMPTEXTURECAPS_PROJECTED

Indicates that the device supports the D3DMTTFF_PROJECTED texture transformation flag (see D3DMTEXTURETRANSFORMFLAGS). When applied, projective texture coordinate divides occur on a per pixel basis. If this flag is not set the projective texture coordinate divides occur per vertex.

D3DMPTEXTURECAPS_MIPMAP

Indicates that the device supports mipmaps.

Requirements

Header d3dmcaps.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Direct3D Mobile Capability Bits
Direct3D Mobile Macros