콘솔
export 8개
셰이더가 console.log로 남기는 내용입니다. CPU가 전달하는 이벤트와, GPU가 기록한 이벤트를 읽는 디코더가 여기 있습니다.
시그니처, 설명, 예제는 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
-
CONSOLE_METHODS상수 - The JavaScript Console API methods TypeShade recognizes in shader source today.
-
ConsoleEvent인터페이스 - A console event produced by a TypeShade CPU/debug invocation.
-
ConsoleLog인터페이스 - Where the console buffer is bound and what each entry in it means.
-
ConsoleMethod타입 - Console methods currently lowered by the TypeShade source compiler.
-
ConsoleSink타입 - Host callback used by the Playground, tests, and editor debug adapters.
-
ConsoleSite인터페이스 - One console call the WGSL records: its method, where it was written, its arguments in the order written, and the words its entry takes.
-
decodeConsole함수 - Decode a console buffer the host copied back into the events the CPU sink would receive.
-
isConsoleMethod함수 - Whether name is one of the console methods the source compiler lowers, narrowing it to ConsoleMethod.