DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
How can i get the value of cursor whose type is DxcCursor_FloatingLiteral/DxcCursor_BinaryOperator?
I tried to traverse the AST of a hlsl file using IDxcCursor and i want to build a tree using the information gotten by the cursor. But i didn't found a way to get the value (like 1.0 or '=') of cursors whose types are DxcCursor_FloatingLiteral/DxcCursor_BinaryOperator. Can someone tell me how to get this values? Thank you!