MotionScript

@motion-script/core


@motion-script/core / DataTexture3D

Interface: DataTexture3D

Defined in: render3d/texture.ts:58

A texture built from raw RGBA8888 bytes — the escape hatch for procedurally generated pixels (gradient ramps, noise, LUTs, data encoded as colour).

Extends

Properties

anisotropy?

optional anisotropy?: number

Defined in: render3d/texture.ts:38

Sharpness at grazing angles. Clamped to the GPU's maximum.

Inherited from

TextureOptions3D.anisotropy


center?

optional center?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:34

Inherited from

TextureOptions3D.center


colorSpace?

optional colorSpace?: TextureColorSpace3D

Defined in: render3d/texture.ts:40

Inherited from

TextureOptions3D.colorSpace


data

data: ArrayLike<number>

Defined in: render3d/texture.ts:59


flipY?

optional flipY?: boolean

Defined in: render3d/texture.ts:39

Inherited from

TextureOptions3D.flipY


height

height: number

Defined in: render3d/texture.ts:61


magFilter?

optional magFilter?: TextureFilter3D

Defined in: render3d/texture.ts:35

Inherited from

TextureOptions3D.magFilter


minFilter?

optional minFilter?: TextureFilter3D

Defined in: render3d/texture.ts:36

Inherited from

TextureOptions3D.minFilter


offset?

optional offset?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:31

Inherited from

TextureOptions3D.offset


repeat?

optional repeat?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:30

UV scale. [2, 2] tiles twice on each axis (needs a repeat wrap).

Inherited from

TextureOptions3D.repeat


revision?

optional revision?: number

Defined in: render3d/texture.ts:67

Bump to force a re-upload after mutating data in place. Mutation is invisible to identity comparison, so without this the renderer cannot tell the bytes changed. See BufferGeometry3D.revision.


rotation?

optional rotation?: number

Defined in: render3d/texture.ts:33

UV rotation in degrees, about center.

Inherited from

TextureOptions3D.rotation


width

width: number

Defined in: render3d/texture.ts:60


wrapS?

optional wrapS?: TextureWrap3D

Defined in: render3d/texture.ts:27

Inherited from

TextureOptions3D.wrapS


wrapT?

optional wrapT?: TextureWrap3D

Defined in: render3d/texture.ts:28

Inherited from

TextureOptions3D.wrapT