Table of contents
GDI
TOC
Collapse the table of content
Expand the table of content

Multiple Texture Validation

Last Updated: 2/14/2017

Current hardware does not necessarily implement everything that Direct3D can express. The application determines whether a particular blending operation can be performed by first setting up the desired blending mode, and then calling the IDirect3DDevice7::ValidateDevice method. The driver must accurately report its capabilities at initialization time and support D3dValidateTextureStageState to allow its capabilities to be validated. Validation also covers operations specified at the TBLEND level. For information about IDirect3DDevice7::ValidateDevice, see the Direct3D SDK documentation.

The following table lists the return codes for IDirect3DDevice7::ValidateDevice.

Return CodeMeaning

CONFLICTINGTEXTUREFILTER

The hardware cannot do trilinear filtering and multiple texturing at the same time.

TOOMANYOPERATIONS

The hardware cannot handle the specified number of options.

UNSUPPORTEDALPHAARG

The specified alpha argument is unsupported.

UNSUPPORTEDALPHAOPERATION

The specified alpha operation is unsupported.

UNSUPPORTEDCOLORARG

The specified color argument is unsupported.

UNSUPPORTEDCOLOROPERATION

The specified color operation is unsupported.

UNSUPPORTEDFACTORVALUE

The hardware cannot support D3DTA_TFACTOR greater than 1.0.

WRONGTEXTUREFORMAT

The hardware cannot support the current state in the selected texture format.

Send comments about this topic to Microsoft

© 2017 Microsoft