Skip to main content

Texture format

Keep mobile texture payloads and mip levels together.

PVR is a PowerVR-oriented texture container that packages compressed payloads, mipmaps, and texture metadata. loaders.gl exposes those levels in a common texture representation for a GPU runtime to consume.

loaders.gl support​

Portable texture delivery

Package once. Choose the GPU target at runtime.

Containers preserve dimensions and mip levels; portable payloads delay the final format choice until the application knows what the current device supports.

Runtime choice

mipsdevicetranscode

metadata · levels · capabilities

Renderer receives

BC / S3TCdesktop GPU target
ETC2 / ASTCmobile GPU target
Fallback pixelswhen compression is unavailable

The application keeps one asset pipeline while the renderer receives the representation its WebGL or WebGPU device can use efficiently.

GPU texture path

Decode the container, choose the runtime format later.

The loader preserves mip levels and canonical format metadata while leaving device-specific upload and fallback decisions to the consuming application or graphics framework.

Container

PVR headers, dimensions, levels, and compressed payloads.

Decode

Read each mip level as TextureLevel data.

Describe

Map recognized formats to canonical texture identifiers.

Upload

Hand levels to the GPU-oriented texture runtime.

Detailed guide

PVR format and API details

The reference below covers the PVR container, mip levels, format tagging, and the shared compressed-texture loader path.

PVR is the PowerVR texture container format. It is associated with Imagination Technologies' PowerVR ecosystem and is commonly seen in mobile texture workflows.

The container can store compressed texture payloads together with mipmaps and texture metadata.

Why It Is Used​

PVR is commonly encountered in:

  • PowerVR-oriented mobile pipelines
  • PVRTC texture workflows
  • offline-generated mipmapped texture assets

loaders.gl Support​

Format Featureloaders.gl SupportNotes
PVR container parsing✅ YesSupported by CompressedTextureLoader.
Mip level extraction✅ YesReturned as TextureLevel[].
PVRTC and related format tagging✅ Yesloaders.gl maps recognized formats to canonical texture format identifiers.
Direct GPU upload workflows✅ YesOutput is designed for GPU upload by consuming frameworks and applications.