MotionScript

@motion-script/core


@motion-script/core / ShaderTexture

Interface: ShaderTexture

Defined in: attributes/shape/fill/implementations/shader.ts:22

An image bound to one of the shader's uniform shader declarations.

Properties

name

name: string

Defined in: attributes/shape/fill/implementations/shader.ts:24

The uniform shader name in the source this image binds to.


src

src: string

Defined in: attributes/shape/fill/implementations/shader.ts:26

Asset path, resolved like any other image fill's src.