D3DMPTEXTURECAPS Values (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE 5.0 and later.
Header: D3dmcaps.h.

See Also

Direct3D Mobile Capability Bits | Direct3D Mobile Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.