@pmndrs/bvh
Docs
GitHub
Preparing search index...
@pmndrs/bvh
createSdfTexture
Function createSdfTexture
createSdfTexture
(
device
:
GPUDevice
,
grid
:
Pick
<
SdfGrid
,
"resolution"
>
,
label
?:
string
,
)
:
GPUTexture
A 3D
r32float
texture an
SdfGenerator
can fill and a shader can sample.
Parameters
device
:
GPUDevice
grid
:
Pick
<
SdfGrid
,
"resolution"
>
label
:
string
= 'sdf'
Returns
GPUTexture
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Docs
GitHub
@pmndrs/bvh
Loading...
A 3D
r32floattexture an SdfGenerator can fill and a shader can sample.