How to Generate Skybox?

How to generate Skybox in Engine instead of Editor?"scenes/", "texture", (error, asset:pc.Asset) => {
            const texture = asset.resource as pc.Texture;



            return null;

I see the .dds file used. How do I generate the DDS file?

Oh, it needs editor. How does it need to be generated without an editor?

I guess the Editor just calls pc.prefilterCubemap:

And then pc.Texture#getDds:

Neither function is in public API and so are subject to change in the future.