Unity는 특정 플랫폼의 API 유효성에 따라 DirectX, Metal, OpenGL 및 Vulkan 그래픽스 API를 지원합니다. Unity는 빌트인 그래픽스 API 세트 또는 에디터에서 선택된 그래픽스 API를 사용합니다.
Unity의 기본 그래픽스 API를 사용하려면 다음 단계를 따르십시오.
플레이어 설정(메뉴: Edit > Project Settings 로 이동하여 Player 카테고리 선택)을 엽니다.
Other Settings 로 이동한 후 Auto Graphics API 가 선택되었는지 확인합니다.
플랫폼에 대해 Auto Graphics API 를 선택하면 플레이어는 빌트인 그래픽스 API 세트를 포함하고 런타임 시점에 그중 가장 적합한 API를 사용하여 최상의 시나리오를 만듭니다.
플랫폼에 대해 Auto Graphics API 를 선택하지 않으면 에디터는 목록의 첫 번째 API를 사용합니다. 예를 들어, 에디터에서 애플리케이션이 OpenGL에서 실행되도록 만들려면 OpenGLCore 를 목록 맨 위로 이동시키십시오. 그러면 에디터가 OpenGL 렌더링 사용으로 전환합니다.
기본 그래픽스 API를 오버라이드하고 대체 그래픽스 API를 에디터와 플레이어에 사용하려면 이와 관련된 Auto Graphics API 를 선택 해제하고, 더하기(+) 버튼을 클릭한 후 드롭다운 메뉴에서 그래픽스 API를 선택하십시오.
Auto Graphics API 목록 맨 위에 있는 그래픽스 API가 기본 API입니다. 기본 API가 특정 플랫폼에서 지원되지 않는 경우 Unity는 Auto Graphics API 목록의 다음 API를 사용합니다.
플랫폼과 셰이더 언어의 시맨틱 간에 그래픽스 렌더링이 동작하는 방식에 대한 자세한 내용은 플랫폼별 렌더링 차이를 참조하십시오. 테셀레이션과 지오메트리 셰이더는 일부 그래픽스 API에서만 지원됩니다. 이는 셰이더 컴파일 타겟 레벨로 조정할 수 있습니다.
그래픽스 API별 정보에 대한 자세한 내용은 Metal, DirectX, OpenGL에 관한 문서를 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.