Microsoft DirectX 8.1 (Visual Basic)

D3DVSD_STREAM

Sets the current stream.

Function D3DVSD_STREAM(StreamNumber As Long) As Long
    D3DVSD_STREAM = (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) Or _ 
                    (StreamNumber))
End Function

Parameters

StreamNumber
Specifies the stream from which to get data. Possible values range from 0 through MaxStreams - 1.

Remarks

D3DVSD_STREAM and all the constants it uses are found in (SDK Root)\Samples\Multimedia\VBSamples\Common\D3DShaders.bas.

See Also

Direct3DDevice8.CreateVertexShader