@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?
optionalanisotropy?:number
Defined in: render3d/texture.ts:38
Sharpness at grazing angles. Clamped to the GPU's maximum.
Inherited from
center?
optionalcenter?:Vector2| readonly [number,number]
Defined in: render3d/texture.ts:34
Inherited from
colorSpace?
optionalcolorSpace?:TextureColorSpace3D
Defined in: render3d/texture.ts:40
Inherited from
data
data:
ArrayLike<number>
Defined in: render3d/texture.ts:59
flipY?
optionalflipY?:boolean
Defined in: render3d/texture.ts:39
Inherited from
height
height:
number
Defined in: render3d/texture.ts:61
magFilter?
optionalmagFilter?:TextureFilter3D
Defined in: render3d/texture.ts:35
Inherited from
minFilter?
optionalminFilter?:TextureFilter3D
Defined in: render3d/texture.ts:36
Inherited from
offset?
optionaloffset?:Vector2| readonly [number,number]
Defined in: render3d/texture.ts:31
Inherited from
repeat?
optionalrepeat?: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
revision?
optionalrevision?: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?
optionalrotation?:number
Defined in: render3d/texture.ts:33
UV rotation in degrees, about center.
Inherited from
width
width:
number
Defined in: render3d/texture.ts:60
wrapS?
optionalwrapS?:TextureWrap3D
Defined in: render3d/texture.ts:27
Inherited from
wrapT?
optionalwrapT?:TextureWrap3D
Defined in: render3d/texture.ts:28