Lines Matching refs:FVF
25 …ng usage, long FVF, D3DPOOL pool) : Direct3DResource9(device, D3DRTYPE_VERTEXBUFFER, pool, length)… in Direct3DVertexBuffer9() argument
27 if(FVF) in Direct3DVertexBuffer9()
31 switch(FVF & D3DFVF_POSITION_MASK) in Direct3DVertexBuffer9()
43 if(FVF & D3DFVF_NORMAL) stride += 12; in Direct3DVertexBuffer9()
44 if(FVF & D3DFVF_PSIZE) stride += 4; in Direct3DVertexBuffer9()
45 if(FVF & D3DFVF_DIFFUSE) stride += 4; in Direct3DVertexBuffer9()
46 if(FVF & D3DFVF_SPECULAR) stride += 4; in Direct3DVertexBuffer9()
48 switch((FVF & D3DFVF_TEXCOUNT_MASK) >> D3DFVF_TEXCOUNT_SHIFT) in Direct3DVertexBuffer9()
50 case 8: stride += 4 + 4 * ((1 + (FVF >> 30)) % 4); in Direct3DVertexBuffer9()
51 case 7: stride += 4 + 4 * ((1 + (FVF >> 28)) % 4); in Direct3DVertexBuffer9()
52 case 6: stride += 4 + 4 * ((1 + (FVF >> 26)) % 4); in Direct3DVertexBuffer9()
53 case 5: stride += 4 + 4 * ((1 + (FVF >> 24)) % 4); in Direct3DVertexBuffer9()
54 case 4: stride += 4 + 4 * ((1 + (FVF >> 22)) % 4); in Direct3DVertexBuffer9()
55 case 3: stride += 4 + 4 * ((1 + (FVF >> 20)) % 4); in Direct3DVertexBuffer9()
56 case 2: stride += 4 + 4 * ((1 + (FVF >> 18)) % 4); in Direct3DVertexBuffer9()
57 case 1: stride += 4 + 4 * ((1 + (FVF >> 16)) % 4); in Direct3DVertexBuffer9()
248 description->FVF = FVF; in GetDesc()