Skip to content

ZenFG TypeScript API / webgpu / root / ResourcePoolEntryInfo

Type Alias: ResourcePoolEntryInfo ​

ResourcePoolEntryInfo = object & { descriptor: TextureAllocationInfo; kind: "texture"; } | { descriptor: BufferAllocationInfo; kind: "buffer"; }

Defined in: packages/webgpu/src/types.ts:1262

Frozen per-instance predicate snapshot. It exposes no GPU handle, pool key, or persistent instance identity.

Type Declaration ​

estimatedBytes ​

readonly estimatedBytes: number

scope? ​

readonly optional scope?: ResourcePoolScope

unusedExecutions ​

readonly unusedExecutions: number

Accepted executions since this instance was last acquired; unrelated to frameIndex or GPU completion.

Open source / MIT licensed