TextureUploadDecision
此内容尚不支持你的语言。
Defined in: asset/compressed.ts:327
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.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”effective
Section titled “effective”
readonlyeffective:UploadedGpuFormat
Defined in: asset/compressed.ts:332
payload
Section titled “payload”
readonlypayload:"ktx2"|"raw"
Defined in: asset/compressed.ts:329
What arrived: a transcodable container, or a plain image.
reason
Section titled “reason”
readonlyreason:TextureUploadReason
Defined in: asset/compressed.ts:333
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.