Jump to content

Vulkan render test 2


Josh
 Share

Recommended Posts

This demo will display some 2D graphics with Vulkan, along with a little physics.

vktest2.zip

This will run on any hardware that supports Vulkan 1.1. If it cannot initialize Vulkan it will display an error message and exit gracefully.

Although the rendering architecture in Ultra Engine is more complicated than Leadwerks, there is a technique available to detect graphics initialization failure: https://www.ultraengine.com/learn/CPP/World_Render

Image1.thumb.png.64097c0115ea3e2b0dc7a11f09e86c5e.png

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

If you create a file in the same folder called "Ultra.json" you can control whether the discrete or integrated graphics get used:

{
    "preferDiscreteGPU": true,
}

The value above is true by default but you can set it to false to force use of integrated graphics, if they are present.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...