Luxar Viewer API Documentation - v2026.10.19
GitHub
Preparing search index...
tests/unit/helpers/wgsl-build
wgslFragmentFor
Function wgslFragmentFor
wgslFragmentFor
(
material
:
Material
,
camera
?:
Camera
,
geometry
?:
BufferGeometry
,
)
:
string
Build a material without a GPU and return its WGSL fragment shader.
Parameters
material
:
Material
camera
:
Camera
= ...
geometry
:
BufferGeometry
= ...
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.10.19
Loading...
Build a material without a GPU and return its WGSL fragment shader.