ZenFG TypeScript API / webgpu / root / ImportTextureOptions
Type Alias: ImportTextureOptions
ImportTextureOptions =
object
Defined in: packages/webgpu/src/types.ts:344
Beta
Configures how a caller-owned texture is exposed to FrameGraph.
Physical metadata is read from the GPUTexture. exposedUsage may narrow the texture's native usage for graph declarations, while viewFormats declares alternate formats known to have been allowed when the physical texture was created.
Properties
exposedUsage?
readonlyoptionalexposedUsage?:GPUTextureUsageFlags
Defined in: packages/webgpu/src/types.ts:358
Graph-visible usage flags.
Default Value
The native texture usage.initialContents?
readonlyoptionalinitialContents?:InitialContents
Defined in: packages/webgpu/src/types.ts:364
Initial logical-content state.
Default Value
'defined'
label?
readonlyoptionallabel?:string
Defined in: packages/webgpu/src/types.ts:350
Optional graph-local label.
Default Value
The native texture label.viewFormats?
readonlyoptionalviewFormats?: readonlyGPUTextureFormat[]
Defined in: packages/webgpu/src/types.ts:352
Alternate view formats available on the physical texture.