/** * File: kernel-obj-format * * @class KernelObjFormat * * The kernelObj is a standard JS object that matches the following format. * * This is generated via * * |-----------------|---------------|---------------------------------------------------------------------------| * | Name | Value Type | Description | * |-----------------|---------------|---------------------------------------------------------------------------| * | isKernelObj | | Boolean true flag, that is compulsory in the kernel obj validation | * | optObj | | { option object } | * | jsPrecompile | | Object representing the precompiled kernel for CPU mode | * | webGlPrecompile | | Object representing the precompiled kernel for W mode | * | jsKernel | | String representation of the JS kernel | * | glHeaders | | Precompiled webgl prototype function headers | * | glKernel | | Precompiled webgl kernel functions | * | paramNames | | Array of strings, containing the kernel parameter names | * | paramType | | Array of strings, containing the kernel parameter types, can only be | * | | | either "Array", "Int", "Float" | * |-----------------|---------------|---------------------------------------------------------------------------| */ "use strict";