跳转到内容

TextureFormatRecord

此内容尚不支持你的语言。

Defined in: asset/textureFormatReport.ts:20

What one texture upload did with a cooked payload, on THIS device.

The second half; the first is what the build shipped (pipeline/src/assets/textureCookDecision.ts). Kept apart because a cook that shipped raw is a build setting and a device that decoded it is a device.

readonly effective: UploadedGpuFormat

Defined in: asset/compressed.ts:332

TextureUploadDecision.effective


readonly path: string

Defined in: asset/textureFormatReport.ts:22

The residency key the texture was loaded under.


readonly payload: "ktx2" | "raw"

Defined in: asset/compressed.ts:329

What arrived: a transcodable container, or a plain image.

TextureUploadDecision.payload


readonly reason: TextureUploadReason

Defined in: asset/compressed.ts:333

TextureUploadDecision.reason


readonly target: CompressedTextureFormat | null

Defined in: asset/compressed.ts:331

The best format this device offered for it; null when it offered none.

TextureUploadDecision.target