re: [2/5] d3dx9: Generate effect instances from materials for mesh loading.