DirectXShaderInfo
Description
- Extended by
-
DirectX11ShaderInfo sealed
DirectX12ShaderInfo sealed
Represents the shader metadata that the HLSL compiler writes into the Assembler Output / *.asm
files.
Public / Methods
ExtractComment
Extracts the leading comment block from the given HLSL assembly output.
All leading text lines that start with the given prefix in are extracted from assemblerOutput in. Then, the prefix is removed from each text line; consecutive runs of empty text lines are collapsed into a single line of text.