DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

How can i get the value of cursor whose type is DxcCursor_FloatingLiteral/DxcCursor_BinaryOperator?

Open cx-zzz opened this issue 2 years ago • 0 comments

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!

cx-zzz avatar Oct 07 '22 06:10 cx-zzz