Syntax
dbConvertObjectFVF(ObjectID, FVFFormat)
Description
This command will convert the specified object to use a new FVF Format. FVF stands for Flexible Vertex Format and represents how much data each vertex of your objects meshes contain. Use this command to prepare an object for use with a vertex shader effect. The FVF Format is specified using bits. Each bit represents an element that will be created within the vertex data. The FVF bits are specified within a DWORD and are as follows:
'FVFFormat' can be a combination of the following values:
#GDK_FVF_XYZ
#GDK_FVF_XYZRHW
#GDK_FVF_XYZB1
#GDK_FVF_XYZB2
#GDK_FVF_XYZB3
#GDK_FVF_XYZB4
#GDK_FVF_XYZB5
#GDK_FVF_NORMAL
#GDK_FVF_PSIZE
#GDK_FVF_DIFFUSE
#GDK_FVF_SPECULAR
#GDK_FVF_TEX0
#GDK_FVF_TEX1
#GDK_FVF_TEX2
#GDK_FVF_TEX3
#GDK_FVF_TEX4
#GDK_FVF_TEX5
#GDK_FVF_TEX6
#GDK_FVF_TEX7
#GDK_FVF_TEX8