D3DPS_VERSION
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DPS_VERSION Macro


Create a pixel shader version token.

Syntax

#define D3DPS_VERSION(_Major,_Minor)

Remarks

Version Numbers

The version number is a combination of the major version and the minor vertex shader version numbers. Valid numbers are shown in the table.

Major Minor Example
1 1 D3DPS_VERSION(1,1)
1 2 D3DPS_VERSION(1,2)
1 3 D3DPS_VERSION(1,3)
1 4 D3DPS_VERSION(1,4)
2 0 D3DPS_VERSION(2,0)
3 0 D3DPS_VERSION(3,0)

Macro Information

Headerd3d9types.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.