Home -> IShaderProgram -> CodeFormat

Description

The CodeFormat enumeration identifies the language or binary format used by a shader code blob. Applications can query support with IsCodeFormatSupported and can query the preferred renderer format with PreferredCodeFormat.

Members

Name Description
Public Enum HLSL
Identifies HLSL source code text.
Public Enum DXBC
Identifies Direct3D bytecode produced by the legacy FXC compiler.
Public Enum DXIL
Identifies DirectX Intermediate Language bytecode produced by the DXC compiler.
Public Enum SPIRVAssembly
Identifies SPIR-V assembly text.
Public Enum SPIRV
Identifies binary SPIR-V shader code.
Public Enum GLSL
Identifies GLSL source code text.
Public Enum MSL
Identifies Metal Shading Language source code text.
Public Enum AIR
Identifies Apple Intermediate Representation bytecode for Metal shaders.

See also