Skip to main content

shaderobjectfileoutput

Specifies the output object of compiled HLSL files.

shaderobjectfileoutput ("path")

Parameters​

path is the output path of HLSL files that have been compiled into Compiled Shader Objects.

Applies To​

Project and file configurations.

Availability​

Premake 5.0.0-alpha14 or later for Visual Studio.

Examples​

This Visual Studio project will compile HLSL files to the shaders folder with a .cso extension.

shaderobjectfileoutput "shaders/%%(Filename).cso"