md3dDevice->IASetInputLayout(mVertexLayout);// set some variables for the shaderintfoo[1]; foo[0] =0;// set the point to the shader techniqueD3D10_TECHNIQUE_DESC techDesc; mTech->GetDesc(&techDesc);//setting the color flip variable in the shadermfxFLIPVar->SetRawValue(&foo[0],0,...
glVertexAttribPointer(kCCVertexAttrib_Position,3, GL_FLOAT, GL_FALSE,sizeof(m_sQuad.bl), (void*) (offset + diff));// texCoodsdiff = offsetof( ccV3F_C4B_T2F, texCoords); glVertexAttribPointer(kCCVertexAttrib_TexCoords,2, GL_FLOAT, GL_FALSE,sizeof(m_sQuad.bl), (void*)(offset + d...