Skip to content

Interface: VolumeTexture3DOptions ​

Defined in: textures/VolumeTexture3D.ts:9

Properties ​

useHalfFloat? ​

ts
optional useHalfFloat?: boolean;

Defined in: textures/VolumeTexture3D.ts:14

Store volume as half-float on the GPU (saves memory, costs CPU conversion). When enabled, Float32Array inputs are converted to Uint16 half-float values.


filter? ​

ts
optional filter?: VolumeTextureFilter;

Defined in: textures/VolumeTexture3D.ts:20

Sampling between voxel centres (default 'linear'). Float textures need OES_texture_float_linear for linear filtering; where a renderer lacks it, VolumeTexture3D.prepareForRenderer falls back to nearest.


minFilter? ​

ts
optional minFilter?: MinificationTextureFilter;

Defined in: textures/VolumeTexture3D.ts:25

Explicit three.js filters. They override filter until setFilter replaces both; a linear-filtering fallback restores them afterwards.


magFilter? ​

ts
optional magFilter?: MagnificationTextureFilter;

Defined in: textures/VolumeTexture3D.ts:26


wrapS? ​

ts
optional wrapS?: Wrapping;

Defined in: textures/VolumeTexture3D.ts:27


wrapT? ​

ts
optional wrapT?: Wrapping;

Defined in: textures/VolumeTexture3D.ts:28


wrapR? ​

ts
optional wrapR?: Wrapping;

Defined in: textures/VolumeTexture3D.ts:29

Released under the MIT License.