Tested threads on linux. Added texture coordinates type.