WebIDLpedia

GPUShaderModule interface

Definition

WebGPU defines GPUShaderModule



[Exposed=(Window, Worker), SecureContext]
interface GPUShaderModule {
    Promise<GPUCompilationInfo> getCompilationInfo();
};
GPUShaderModule includes GPUObjectBase;
Consolidated IDL (across mixin and partials)


[Exposed=(Window, Worker), SecureContext]
interface GPUShaderModule {
    Promise<GPUCompilationInfo> getCompilationInfo();
    attribute USVString label;
};

Methods and attributes that return objects implementing GPUShaderModule

Referring IDL interfaces/dictionaries