xcode使用相對路徑

在代碼中想要使用相對路勁 如圖 option->working directory 設置爲當前項目的路勁就可以啦 然後直接用就好,比如這樣  Shader ourShader("shader.vs", "shader.frag");
相關文章
相關標籤/搜索