int VertexFormat::offset(VertexComponent comp, unsigned index) const
{
if((comp<TEXCOORD1 && index>0) || (comp<ATTRIB1 && index>=8) || index>=53)
int VertexFormat::offset(VertexComponent comp, unsigned index) const
{
if((comp<TEXCOORD1 && index>0) || (comp<ATTRIB1 && index>=8) || index>=53)
else if(str.size()==11 && str[9]=='_' && str[10]>='0' && str[10]<='7')
c = static_cast<VertexComponent>(TEXCOORD1+(str[8]-'1')+(str[10]-'0')*4);
else
else if(str.size()==11 && str[9]=='_' && str[10]>='0' && str[10]<='7')
c = static_cast<VertexComponent>(TEXCOORD1+(str[8]-'1')+(str[10]-'0')*4);
else