Skip to content

Commit bea9d34

Browse files
Merge branch 'develop' of https://github.com/gpujs/gpu.js into develop
2 parents 84169fd + dd1dcbd commit bea9d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ worker.onmessage = function(e) {
897897
* for instances of `GPU` use the `destroy` method. Example: `gpu.destroy()`
898898
* for instances of `Kernel` use the `destroy` method. Example: `kernel.destroy()`
899899
* for instances of `Texture` use the `delete` method. Example: `texture.delete()`
900-
* for instances of `Texture` that you might want to reuse/reset to zeros, use the `empty` method. Example: `texture.empty()`
900+
* for instances of `Texture` that you might want to reuse/reset to zeros, use the `clear` method. Example: `texture.clear()`
901901

902902
## Flattened typed array support
903903
To use the useful `x`, `y`, `z` `thread` lookup api inside of GPU.js, and yet use flattened arrays, there is the `Input` type.

0 commit comments

Comments
 (0)