Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/platform/graphics/shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ class Shader {
* WebGPU platform.
* @param {string} [definition.computeEntryPoint] - The entry point function name for the compute
* shader. Defaults to 'main'.
* @param {BindGroupFormat} [definition.computeBindGroupFormat] - The bind group format for
* caller-provided compute resources in group 0. Only used on WebGPU.
* @param {Object<string, UniformBufferFormat>} [definition.computeUniformBufferFormats] - The
* uniform buffer formats keyed by bind group entry name. Requires computeBindGroupFormat.
* @param {Map<string, string>} [definition.vincludes] - A map containing key-value pairs of
* include names and their content. These are used for resolving #include directives in the
* vertex shader source.
Expand Down