The shader WGSL code.
Optional
entryThe shader main function entry point.
Optional
constantsSpecifies the values of pipeline-overridable constants in the shader module if any. Note that if a constant is defined here, it must be used in the shader code.
Options used to create a shader.