Luxar Viewer API Documentation - v2026.10.19
GitHub
Preparing search index...
rendering/element-texture-row-upload
BackendLike
Interface BackendLike
Structural view of three's backends (native WebGPU + WebGL2 fallback).
interface
BackendLike
{
isWebGPUBackend
?:
boolean
;
isWebGLBackend
?:
boolean
;
updateTexture
?:
UpdateTextureFn
;
get
(
object
:
object
)
:
Record
<
string
,
unknown
>
;
device
?:
|
{
queue
?:
{
writeTexture
?:
(
...
args
:
unknown
[]
)
=>
unknown
}
}
|
null
;
gl
?:
Record
<
string
,
unknown
>
|
null
;
state
?:
|
{
bindTexture
?:
(
target
:
unknown
,
texture
:
unknown
)
=>
void
}
|
null
;
textureUtils
?:
{
setTextureParameters
?:
(
target
:
unknown
,
texture
:
Texture
)
=>
void
;
}
;
}
Index
Properties
is
Web
GPU
Backend?
is
Web
GL
Backend?
update
Texture?
device?
gl?
state?
texture
Utils?
Methods
get
Properties
Optional
is
Web
GPU
Backend
isWebGPUBackend
?:
boolean
Optional
is
Web
GL
Backend
isWebGLBackend
?:
boolean
Optional
update
Texture
updateTexture
?:
UpdateTextureFn
Optional
device
device
?:
{
queue
?:
{
writeTexture
?:
(
...
args
:
unknown
[]
)
=>
unknown
}
}
|
null
Optional
gl
gl
?:
Record
<
string
,
unknown
>
|
null
Optional
state
state
?:
{
bindTexture
?:
(
target
:
unknown
,
texture
:
unknown
)
=>
void
}
|
null
Optional
texture
Utils
textureUtils
?:
{
setTextureParameters
?:
(
target
:
unknown
,
texture
:
Texture
)
=>
void
;
}
Methods
get
get
(
object
:
object
)
:
Record
<
string
,
unknown
>
Parameters
object
:
object
Returns
Record
<
string
,
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
is
Web
GPU
Backend
is
Web
GL
Backend
update
Texture
device
gl
state
texture
Utils
Methods
get
GitHub
Luxar Viewer API Documentation - v2026.10.19
Loading...
Structural view of three's backends (native WebGPU + WebGL2 fallback).