MCPcopy Create free account

hub / github.com/TimvanScherpenzeel/spars / functions

Functions170 in github.com/TimvanScherpenzeel/spars

Methodconstructor
* Configure the fixed cache size * * @param size Size of the cache
src/utilities/memoize.ts:19
Methodconstructor
(options: IAssetLoaderOptions)
src/loaders/AssetLoader.ts:75
Methodconstructor
* Sets various configuration options
src/caching/PersistentCache.ts:50
Methodconstructor
* Sets various configuration options * * @param size Maximum amount of threads to use
src/threadPool/index.ts:21
Methodconstructor
* Sets various configuration options * * @param size Maximum amount of threads to use
src/threadPool/TaskManager.ts:46
FunctioncountPendingTasks
(task: Task, property: string, obj: any[])
src/threadPool/worklet.ts:82
FunctioneaseInCirc
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:359
FunctioneaseInExpo
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:290
FunctioneaseInOutCirc
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:393
FunctioneaseInOutExpo
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:328
FunctioneaseInOutQuad
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:43
FunctioneaseInOutQuart
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:157
FunctioneaseInOutQuint
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:216
FunctioneaseInOutSine
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:273
FunctioneaseInQuad
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:9
FunctioneaseInQuart
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:123
FunctioneaseInQuint
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:180
FunctioneaseInSine
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:239
FunctioneaseOutCirc
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:376
FunctioneaseOutExpo
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:309
FunctioneaseOutQuad
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:26
FunctioneaseOutQuart
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:140
FunctioneaseOutQuint
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:197
FunctioneaseOutSine
( time: number, beginValue: number, changeInValue: number, duration: number )
src/easings/index.ts:256
FunctionexitFullscreen
()
src/polyfills/fullScreen.ts:49
FunctionexitPointerLock
()
src/polyfills/pointerLock.ts:46
Functionfibonacci
(n: number)
test/utilities/memoize.test.ts:19
FunctionfullscreenElement
()
src/polyfills/fullScreen.ts:66
FunctionfullscreenSupported
()
src/polyfills/fullScreen.ts:59
Methodget
* Gets a { key: value } pair by key in the persistent cache * * @param key Key of cache entry to get
src/caching/PersistentCache.ts:85
MethodgetKeys
* Gets all { key: value } pairs in the persistent cache
src/caching/PersistentCache.ts:104
Functionhidden
()
src/events/onVisibilityChange.ts:28
MethodisEmpty
* Check if the heap container is empty
src/frameScheduler/PriorityUniqueQueue.ts:75
FunctionkindOf
(arg: any)
test/utilities/memoize.test.ts:78
Functionlater
()
src/utilities/debounce.ts:17
Methodlength
* Get the current length of the queue
src/dataStructures/Deque.ts:20
Methodlength
* Get the current length of the bitfield
src/dataStructures/Bitfield.ts:16
FunctionmGetQueryParameters
(url = window.location.search)
src/utilities/getQueryParameters.ts:15
FunctionmHashString
(str: string)
src/utilities/hashString.ts:21
Functionmonadic
* A function which accepts a single argument * * @param fn Function to memoize * @param cache Cache to use * @param serializer Serializer to use
src/utilities/memoize.ts:63
FunctionnToThePower
(n: number, power: number)
test/utilities/memoize.test.ts:65
Methodoff
* Stop the frame ticker
src/frameTicker/index.ts:44
FunctiononConnectionChangeHandler
* Monitor connection changes and speed
src/events/onConnectionChange.ts:10
FunctiononKeyDownChangeHandler
* Monitor keydown changes
src/events/onKeyChange.ts:14
FunctiononKeyUpChangeHandler
* Monitor keyup changes
src/events/onKeyChange.ts:23
FunctiononOrientationChangeHandler
* Monitor orientation changes
src/events/onOrientationChange.ts:30
FunctiononVisibilityChangeHandler
* Monitor visibility changes
src/events/onVisibilityChange.ts:52
FunctiononWindowSizeChangeHandler
* Monitor window size changes
src/events/onWindowSizeChange.ts:18
Functiononfullscreenchange
()
src/polyfills/fullScreen.ts:73
Functiononfullscreenerror
()
src/polyfills/fullScreen.ts:81
Functiononpointerlockchange
()
src/polyfills/pointerLock.ts:75
Functiononpointerlockerror
()
src/polyfills/pointerLock.ts:83
Functiononvisibilitychange
()
src/events/onVisibilityChange.ts:40
FunctionpointerLockElement
()
src/polyfills/pointerLock.ts:68
FunctionpointerlockEnabled
()
src/polyfills/pointerLock.ts:56
FunctionpreventInteraction
(event: Event)
src/scrolling/scrollTo.ts:7
FunctionrecordAnalyticsEvent
(record = {})
src/analytics/index.ts:99
FunctionregisterAnalytics
(trackingIdentifier: string)
src/analytics/index.ts:10
FunctionregisterTask
(name: string, taskProcessor: () => void)
src/threadPool/worklet.ts:287
FunctionreplaceTaskIdWithResult
(task: Task, property: any, obj: any)
src/threadPool/worklet.ts:94
Methodrun
* Run a task on a compute module from the task pool * * @param taskName Name of the compute module to execute in the task queue * @param args
src/threadPool/index.ts:34
FunctionrunTasks
()
src/frameScheduler/index.ts:57
FunctionscrollTo
({ destinationY = 0, duration = 1250, }: { destinationY: number; duration: number; })
src/scrolling/scrollTo.ts:26
FunctionscrollToTopOnReload
()
src/scrolling/scrollToTopOnReload.ts:4
FunctionserializerDefault
(...args: any)
src/utilities/memoize.ts:103
Methodset
* Sets a { key: value } pair in the persistent cache * * NOTE: In order to store ArrayBuffers in IndexedDB you will need to convert them to Blob
src/caching/PersistentCache.ts:68
MethodstatusReceived
* Status of the thread (communicates with the individual thread) * * @param worker Active thread * @param statuses Any statusses to report
src/threadPool/TaskManager.ts:214
MethodswitchEndianness
(value: number)
src/loaders/AssetLoader.ts:688
Functionunlock
()
src/audio/checkAutoplay.ts:73
Functionvariadic
* A function which accepts a variable number of arguments * * @param fn Function to memoize * @param cache Cache to use * @param serializer Serial
src/utilities/memoize.ts:84
← previous101–170 of 170, ranked by callers