Skip to content

Should PIXELFORMAT_A8, PIXELFORMAT_L8 and PIXELFORMAT_LA8 be public API? #7498

Open

Description

@willeastcott

Currently, they are undocumented and so do not make it into the public API reference:

export const PIXELFORMAT_A8 = 0;
export const PIXELFORMAT_L8 = 1;
export const PIXELFORMAT_LA8 = 2;

This is despite PIXELFORMAT_LA8 being referenced here:

https://api.playcanvas.com/engine/classes/XrView.html#texturedepth
https://api.playcanvas.com/engine/classes/XrViews.html#depthpixelformat

Activity

  1. added theissue type on Mar 30, 2025
  2. mvaligursky commented on Nov 19, 2026

    @mvaligursky
    Contributor

    Engine V3 considers removing these formats, along with the other pixel formats that WebGPU can't represent, in #10103. This includes moving the 'luminance-alpha' XR depth sensing texture away from PIXELFORMAT_LA8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsDocumentation related

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions