D3DVS_VERSION macro

Create a vertex shader version number token.

Syntax


DWORD D3DVS_VERSION(
   int _Major,
   int _Minor
);

Parameters

_Major

The major vertex shader version. See remarks for appropriate values.

_Minor

The minor vertex shader version. See remarks for appropriate values.

Return value

Returns a DWORD value that is a vertex shader version.

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 MinorExample
11D3DVS_VERSION(1,1)
20D3DVS_VERSION(2,0)
30D3DVS_VERSION(3,0)

 

Requirements

Header

D3d9types.h

See also

Macros

 

 

Show: