Table of Contents

Graphics API

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:

<StrideGraphicsApi>Vulkan</StrideGraphicsApi>

image

Supported values are as follows:

Null
Direct3D11
Direct3D12
OpenGL
OpenGLES
Vulkan

You may also have to add <PackageReference Include="Stride.Shaders.Compiler" Version="x.x.x.x" /> to your main .csproj, and don't forget to replace Version appropriately.

image

Engine

If you are using a local build of the engine you should run the build again with the following command:

msbuild /t:Build /p:StrideGraphicsApiDependentBuildAll=true Stride.sln