MotionScript

@motion-script/core


@motion-script/core / isTextureLike

Function: isTextureLike()

isTextureLike(value): boolean

Defined in: render3d/walk.ts:34

True for a texture descriptor object (vs. a plain uniform value).

Structural, because Texture3D has no type discriminant — each member is branded by the presence of its own payload key.

Parameters

value

unknown

Returns

boolean