📄 threejs/Core/Textures/CompressedCubeTexture

File: CompressedCubeTexture.md | Updated: 11/15/2025


title: CompressedCubeTexture category: Core layout: docs

CompressedCubeTexture

Creates a cube texture based on data in compressed form.

These texture are usually loaded with CompressedTextureLoader.

Constructor

new CompressedCubeTexture( images : Array.<CompressedTexture>, format : number, type : number )

Constructs a new compressed texture.

images | An array of compressed textures.
---|---
format | The texture format. Default is RGBAFormat.
type | The texture type. Default is UnsignedByteType.

Properties

.isCompressedCubeTexture : boolean (readonly)

This flag can be used for type testing.

Default is true.

.isCubeTexture : boolean (readonly)

This flag can be used for type testing.

Default is true.

Source

src/textures/CompressedCubeTexture.js