Skip to content

Commit

Permalink
docs: Added correct function call for loadShaderURL (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiranyey authored Nov 25, 2024
1 parent 11f75fb commit 122fe03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2573,7 +2573,7 @@ export interface KAPLAYCtx<
* @example
* ```js
* // load only a fragment shader from URL
* loadShader("outline", null, "/shaders/outline.glsl", true)
* loadShaderURL("outline", null, "/shaders/outline.glsl")
* ```
*
* @retunrs The asset data.
Expand Down

0 comments on commit 122fe03

Please sign in to comment.