| A | |
| addFunction, GPU | |
| B | |
| browserSupport_canvas, GPUUtils | |
| browserSupport_webgl, GPUUtils | |
| C | |
| clone, GPUUtils | |
| createKernel, GPU | |
| E | |
| executeKernel, GPU | |
| F | |
| functionBinder, GPUUtils | |
| Functions | |
| G | |
| getArgumentType, GPUUtils | |
| getCanvas, GPU | |
| getFunctionName_fromString, GPUUtils | |
| getKernelFunction, GPU | |
| getKernelParamObj, GPU | |
| getParamNames_fromString, GPUUtils | |
| getWebgl, GPU | |
| GPU | |
| GPUUtils | |
| I | |
| init_canvas, GPUUtils | |
| init_webgl, GPUUtils | |
| isCanvas, GPUUtils | |
| isFunction, GPUUtils | |
| isFunctionString, GPUUtils | |
| isWebgl, GPUUtils | |
| N | |
| newPromise, GPUUtils | |
| S | |
| supportWebgl, GPU | |
| systemEndianness, GPUUtils |
Adds additional functions, that the kernel may call.
function addFunction( jsFunction, paramTypeArray, returnType )
Return TRUE, if browser supports canvas
function browserSupport_canvas()
Return TRUE, if browser supports webgl
function browserSupport_webgl()
Returns a clone
function clone( obj )
This creates a callable function object to call the kernel function with the argument parameter set
function createKernel( kernel, paramObj )
Limited implmentation of Function.bind, with fallback
function functionBinder( inFunc, thisObj )
Evaluate the argument type, to apply respective logic for it
function getArgumentType( arg )
[DEPRECATED] Returns the internal canvas instance only if it has been initiated
function getCanvas( mode )
Return the function name from a JS function string
function getFunctionName_fromString( funcStr )
Get and returns the kernel function previously set by `createKernel`
function getKernelFunction()
Get and returns the kernel parameter object previously set by `createKernel`
function getKernelParamObj()
Return list of parameter names extracted from the JS function string
function getParamNames_fromString( func )
[DEPRECATED] Returns the internal gpu webgl instance only if it has been initiated
function getWebgl()
Initiate and returns a canvas, for usage in init_webgl.
function init_canvas()
Initiate and returns a webgl, from a canvas object Returns only if webgl is supported by browser.
function init_webgl( canvasObj )
Return TRUE, on a valid DOM canvas object
function isCanvas( canvasObj )
Return TRUE, on a JS function
function isFunction( funcObj )
Return TRUE, on a valid JS function string
function isFunctionString( funcStr )
Return TRUE, on a valid webgl context object
function isWebgl( webglObj )
Returns a `new Promise` object based on the underlying implmentation
function newPromise( executor )
Return TRUE, if browser supports webgl AND canvas
function supportWebgl()
Gets the system endianness, and cache it
function systemEndianness()