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.
Extends
Section titled “Extends”Properties
Section titled “Properties”effective
Section titled “effective”
readonlyeffective:UploadedGpuFormat
Defined in: asset/compressed.ts:332
Inherited from
Section titled “Inherited from”TextureUploadDecision.effective
readonlypath:string
Defined in: asset/textureFormatReport.ts:22
The residency key the texture was loaded under.
payload
Section titled “payload”
readonlypayload:"ktx2"|"raw"
Defined in: asset/compressed.ts:329
What arrived: a transcodable container, or a plain image.
Inherited from
Section titled “Inherited from”reason
Section titled “reason”
readonlyreason:TextureUploadReason
Defined in: asset/compressed.ts:333
Inherited from
Section titled “Inherited from”target
Section titled “target”
readonlytarget:CompressedTextureFormat|null
Defined in: asset/compressed.ts:331
The best format this device offered for it; null when it offered none.