Skip to content

ShaderLanguage Enum

Supported shader source languages.

public enum ShaderLanguage

Fields

HLSL 0

High-Level Shading Language (Direct3D). ShaderCross will transpile this to the target format.

SPIRV 1

SPIR-V bytecode (pre-compiled). ShaderCross can use this directly or transpile to other formats.