Skip to content
Discussion options

You must be logged in to vote

The graphics profile determines what shader features are supported. The graphics backend is determined by the .csproj setting as stated by IXLLEGACYIXL.

Once you set the the Vulkan you should see the command --compile-property:StrideGraphicsApi=Vulkan in the build output to tell you that its using that backend.

Steps:
To run your projects through a different API than the default one, add the following line to the PropertyGroup of your executable's .csproj file:

Supported values are as follows:

Null
Direct3D11
Direct3D12
OpenGL
OpenGLES
Vulkan
You may also have to add
<

to your main .csproj, and don't forget to replace Version appropriately.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@IndieDev99
Comment options

Comment options

You must be logged in to vote
2 replies
@Doprez
Comment options

@IndieDev99
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by IndieDev99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants