InitOptions
InitOptions:
object
Defined in: packages/typegpu/src/core/root/init.ts:659
Options passed into init.
Type declaration
Section titled “Type declaration”adapter?
Section titled “adapter?”
optional
adapter:GPURequestAdapterOptions
device?
Section titled “device?”
optional
device:GPUDeviceDescriptor
&object
Type declaration
Section titled “Type declaration”optionalFeatures?
Section titled “optionalFeatures?”
optional
optionalFeatures:Iterable
<GPUFeatureName
>
unstable_names?
Section titled “unstable_names?”
optional
unstable_names:"random"
|"strict"
Default
Section titled “Default”'random'