Skip to main content

shaderoptions

Specifies a list of options to pass to the shader compiler.

shaderoptions { "values" }

Parameters

values are a list of string options to pass to the shader compiler.

Applies To

Project and file configurations.

Availability

Premake 5.0.0-alpha14 or later for Visual Studio.

Examples

shaderoptions { "-opt" }