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 | |
|---|---|---|
| HLSL |
Identifies HLSL source code text.
|
|
| DXBC |
Identifies Direct3D bytecode produced by the legacy FXC compiler.
|
|
| DXIL |
Identifies DirectX Intermediate Language bytecode produced by the DXC compiler.
|
|
| SPIRVAssembly |
Identifies SPIR-V assembly text.
|
|
| SPIRV |
Identifies binary SPIR-V shader code.
|
|
| GLSL |
Identifies GLSL source code text.
|
|
| MSL |
Identifies Metal Shading Language source code text.
|
|
| AIR |
Identifies Apple Intermediate Representation bytecode for Metal shaders.
|