Microsoft DirectX 8.1 (C++)

D3DVSD_TESSNORMAL

Enables tessellator-generated normals.

D3DVSD_TESSNORMAL( _VertexRegisterIn, _VertexRegisterOut ) \
                 (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | \
                 ((_VertexRegisterIn) << D3DVSD_VERTEXREGINSHIFT) | \
                 ((0x02) << D3DVSD_DATATYPESHIFT) | (_VertexRegisterOut))

Parameters

_VertexRegisterIn
Address of the vertex register whose input stream will be used in normal computation. Possible values range from 0 to 15.
_VertexRegisterOut
Address of the vertex register to output the normal to. Possible values range from 0 to 15.

Requirements

  Header: Declared in D3d8types.h.

See Also

IDirect3DDevice8::CreateVertexShader