콘솔

콘솔

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.

이 페이지 편집 문제 보고