here is the code:
struct Vertex
{
Vertex(){}
Vertex(float x, float y, float z)
{
_x = x; _y = y; _z = z;
}
float _x, _y, _z;
static const DWORD FVF;
};
const DWORD Vertex::FVF = D3DFVF_XYZ;
firstly, does the word static in the struct Vertex declaration indicate that FVF can only be initialized once? im really unsure
and underneath the structure declaration what is happening in relation to the Vertex::FVF constant,
Thanks for your help