Tuesday, October 27, 2015

Diving Deeper - Unity Platform Graphics API Selection / Defaults

Sometimes we get so used to our daily tasks that we overlook values staring us right in the face. I've had people ask me at times 'what does this setting do' only to say 'hmm, not sure. I forgot it existed'. I want to start exploring some of these. Today we're going to be looking at this interesting but rarely used or known settings for "Auto Graphics Api for Windows" - or Linux if you have a long beard. I kid I kid :)  Anyways, note that I'm in the Player Settings for a Windows Standalone build (ie file-build settings-player settings with the PC platform selected in the build dialog)

These settings tell Unity to select the available graphics api in its own selection order. We can simply override them by unchecking the checkbox and then we're shown the default platform list.

The results are pretty cool. I was curious if DirectX or OpenGL would show up for each platform, and they didn't which makes sense when you look at the output. Metal for iOS, XBoxOne for Xbox (as it contains a modified version of DirectX for its usage) and so on.

I wrote a quick script to dump these out for us

As always, I hope you learned something from this. Enjoy :)


  1. Have read many blogs in the net but have never come across such a well written blog. Good work keep it up.
    build android app

  2. Hi Tech Experts,

    We need your assistance and expertise to resolve the issue caused to connect external server.
    I connected to the server using following credentials... it's giving "A protocol error occurred" error. Please help me to connect server.

    Task : I want to get all user details from Active directory using LDAP.

    web.config details

    code snippet 1

    _directoryEntry = new DirectoryEntry(LDAPPath, LDAPUser, LDAPPassword, AuthenticationTypes.Secure);

    code snippet 2

    _directoryEntry = null;
    DirectorySearcher directorySearch = new DirectorySearcher(SearchRoot);
    directorySearch.Filter = "(objectClass=*)";
    SearchResultCollection results = directorySearch.FindAll();

    error details

    A protocol error occurred.

  3. How to create an app to put on the app store?
    the church app

  4. Material to calfskin examination may appear to go simply straight on aside from if the rider endures a mischance in which case the cowhide picks up leverage. MX Graphics

  5. I really appreciate if you can send me the ember MVA script and power point slides, which you teach back in jan2016, that really help me learning about ember, also can you create more tutorial about ember and other Java script framework that will be great. email: vrkhans@gmail.com

  6. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. Deep Etching Services This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future...