You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Click here](/examples) for more typescript examples.
74
+
73
75
# Table of Contents
74
76
75
-
NOTE: documentation is slightly out of date for the upcoming release of v2. We will fix it! In the mean time, if you'd like to assist (PLEASE) let us know.
77
+
Notice documentation is off? We do try our hardest, but if you find something,
78
+
[please bring it to our attention](https://github.com/gpujs/gpu.js/issues), or _[become a contributor](#contributors)_!
76
79
77
80
*[Demos](#demos)
78
81
*[Installation](#installation)
@@ -91,7 +94,7 @@ NOTE: documentation is slightly out of date for the upcoming release of v2. We
@@ -235,7 +238,8 @@ Settings are an object used to create a `kernel` or `kernelMap`. Example: `gpu.
235
238
* VERY IMPORTANT! - Use this to add special native functions to your environment when you need specific functionality is needed.
236
239
*`injectedNative` or `kernel.setInjectedNative(string)`**New in V2!**: string, defined as: `{ functionName: functionSource }`. This is for injecting native code before translated kernel functions.
237
240
*`subKernels` or `kernel.setSubKernels(array)`: array, generally inherited from `GPU` instance.
238
-
*~~`immutable` or `kernel.setImmutable(boolean)`: boolean, default = `false`~~ Deprecated
241
+
*`immutable` or `kernel.setImmutable(boolean)`: boolean, default = `false`
242
+
* VERY IMPORTANT! - This was removed in v2.4.0 - v2.7.0, and brought back in v2.8.0 [by popular demand](https://github.com/gpujs/gpu.js/issues/572), please upgrade to get the feature
239
243
*`strictIntegers` or `kernel.setStrictIntegers(boolean)`: boolean, default = `false` - allows undefined argumentTypes and function return values to use strict integer declarations.
240
244
*`useLegacyEncoder` or `kernel.setUseLegacyEncoder(boolean)`: boolean, default `false` - more info [here](https://github.com/gpujs/gpu.js/wiki/Encoder-details).
241
245
*`tactic` or `kernel.setTactic('speed' | 'balanced' | 'precision')`**New in V2!**: Set the kernel's tactic for compilation. Allows for compilation to better fit how GPU.js is being used (internally uses `lowp` for 'speed', `mediump` for 'balanced', and `highp` for 'precision'). Default is lowest resolution supported for output.
0 commit comments