콘텐츠로 이동

ShaderModuleFormat enumeration

이 콘텐츠는 아직 번역되지 않았습니다.

Format of a shader module handed to Compile.

public enum ShaderModuleFormat
name value description
Unknown 0 Not specified.
HlslSource 1 HLSL source text.
HlslBytecode 2 Compiled HLSL bytecode.
GlslSource 3 GLSL source text.
SpirV 4 SPIR-V binary.
MetalLibrary 5 Compiled Metal library.
MetalSource 6 Metal Shading Language source text.