Syntax
dbSetVertexShaderStream(VertexShaderID, Position, VertexInput, Datatype)
Description
This command will set a vertex shader stream for the specified vertex shader to a specific type. The stream index must start from one, being the first stream into the shader. The vData parameter 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.
'VertexInput' is the assignment of vertex input registers for fixed function vertex shader and can be one of the following values:
#GDK_D3DVSDE_Position
#GDK_D3DVSDE_BlendWeight
#GDK_D3DVSDE_BlendIndices
#GDK_D3DVSDE_Normal
#GDK_D3DVSDE_PSize
#GDK_D3DVSDE_Diffuse
#GDK_D3DVSDE_Specular
#GDK_D3DVSDE_TexCoord0
#GDK_D3DVSDE_TexCoord1
#GDK_D3DVSDE_TexCoord2
#GDK_D3DVSDE_TexCoord3
#GDK_D3DVSDE_TexCoord4
#GDK_D3DVSDE_TexCoord5
#GDK_D3DVSDE_TexCoord6
#GDK_D3DVSDE_TexCoord7
#GDK_D3DVSDE_Position2
#GDK_D3DVSDE_Normal2'DataType' is the bit declarations for _Type fields and can be one of the following values or #Null:
#GDK_D3DVSDT_Float1
#GDK_D3DVSDT_Float2
#GDK_D3DVSDT_Float3
#GDK_D3DVSDT_Float4
#GDK_D3DVSDT_D3DColor
See Also
dbSetVertexShaderMatrix, dbSetVertexShaderStreamCount, dbSetVertexShaderVector