The shader WGSL code.
OptionalentryThe shader main function entry point.
OptionalconstantsSpecifies 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.