SET VERTEX SHADER STREAM This command will set a vertex shader stream for the specified vertex shader.
Syntax
    SET VERTEX SHADER STREAM VertexShader Number, Position, Data, Datatype
Parameters
    VertexShader Number
Integer This value is an integer number such as 1.
    Position
Integer This value is an integer number such as 1.
    Data
Integer This value is an integer number such as 1.
    Datatype
Integer This value is an integer number such as 1.
Returns
This command does not return a value.
Description
The stream index must start from one, being the first stream into the shader. The Data is specified using one of the following values, which relate to the FVF Format code you would use to convert your object prior to using a shader:VSDE_POSITION=FVF_XYZ=0, VSDE_BLENDWEIGHT=FVF_XYZRHW=1, VSDE_BLENDINDICES=FVF_XYZB1=2, VSDE_NORMAL=FVF_NORMAL=3, VSDE_PSIZE=FVF_PSIZE=4, VSDE_DIFFUSE=FVF_DIFFUSE=5, VSDE_SPECULAR=FVF_SPECULAR=6, VSDE_TEXCOORD0=FVF_TEX0=7, VSDE_TEXCOORD1=FVF_TEX0=8, VSDE_TEXCOORD2=FVF_TEX0=9, VSDE_TEXCOORD3=FVF_TEX0=10, VSDE_TEXCOORD4=FVF_TEX0=11, VSDE_TEXCOORD5=FVF_TEX0=12, VSDE_TEXCOORD6=FVF_TEX0=13, VSDE_TEXCOORD7=FVF_TEX0=14. The Datatype is specified using one of the following values:
Example Code

    No example code is provided for this command
See also
BASIC3D Commands Menu Index