Changed vertex attribute "attach" style to the "input layout" style used in DirectX.