Console
8 members
What a shader says through console.log: the events the CPU delivers, and the decoder for the ones the GPU records.
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
-
CONSOLE_METHODSConstant - The JavaScript Console API methods TypeShade recognizes in shader source today.
-
ConsoleEventInterface - A console event produced by a TypeShade CPU/debug invocation.
-
ConsoleLogInterface - Where the console buffer is bound and what each entry in it means.
-
ConsoleMethodType - Console methods currently lowered by the TypeShade source compiler.
-
ConsoleSinkType - Host callback used by the Playground, tests, and editor debug adapters.
-
ConsoleSiteInterface - One console call the WGSL records: its method, where it was written, its arguments in the order written, and the words its entry takes.
-
decodeConsoleFunction - Decode a console buffer the host copied back into the events the CPU sink would receive.
-
isConsoleMethodFunction - Whether name is one of the console methods the source compiler lowers, narrowing it to ConsoleMethod.