Interface GPUShaderModule
interface GPUShaderModule {
__brand: "GPUShaderModule";
label: string;
getCompilationInfo(): Promise<GPUCompilationInfo>;
}
__brand: "GPUShaderModule";
label: string;
getCompilationInfo(): Promise<GPUCompilationInfo>;
}
Hierarchy
- GPUObjectBase
- GPUShaderModule (view full)
Index
Properties
Methods
Methods
getCompilationInfo
- get
Compilation (): Promise<GPUCompilationInfo>Info Returns any messages generated during the GPUShaderModule's compilation. The locations, order, and contents of messages are implementation-defined. In particular, messages may not be ordered by GPUCompilationMessage#lineNum.
Returns Promise<GPUCompilationInfo>
Nominal type branding. https://github.com/microsoft/TypeScript/pull/33038