Luxar Viewer API Documentation - v2026.10.22
GitHub
Preparing search index...
tests/unit/rendering/gpu-depth-sort/fake-device
fakeDevice
Function fakeDevice
fakeDevice
(
options
?:
{
failCompile
?:
boolean
;
maxBinding
?:
number
}
,
)
:
{
device
:
GpuDevice
;
buffers
:
FakeBuffer
[]
;
layouts
:
Map
<
object
,
GpuBindGroupLayoutEntry
[]
>
;
pipelines
:
Map
<
object
,
{
pass
:
string
;
code
:
string
;
layout
:
object
}
>
;
writes
:
{
buffer
:
FakeBuffer
;
offset
:
number
;
data
:
Uint8Array
}
[]
;
submits
:
{
dispatches
:
Dispatch
[]
;
copies
:
[
FakeBuffer
,
FakeBuffer
,
number
]
[]
;
}
[]
;
}
Parameters
options
:
{
failCompile
?:
boolean
;
maxBinding
?:
number
}
= {}
Returns
{
device
:
GpuDevice
;
buffers
:
FakeBuffer
[]
;
layouts
:
Map
<
object
,
GpuBindGroupLayoutEntry
[]
>
;
pipelines
:
Map
<
object
,
{
pass
:
string
;
code
:
string
;
layout
:
object
}
>
;
writes
:
{
buffer
:
FakeBuffer
;
offset
:
number
;
data
:
Uint8Array
}
[]
;
submits
:
{
dispatches
:
Dispatch
[]
;
copies
:
[
FakeBuffer
,
FakeBuffer
,
number
]
[]
;
}
[]
;
}
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.10.22
Loading...