Skip to content

ZenFG TypeScript API / webgpu / root / TextureAllocationInfo

Type Alias: TextureAllocationInfo ​

TextureAllocationInfo = object

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

Normalized physical texture allocation specifications, without labels or GPU objects.

Properties ​

dimension ​

readonly dimension: GPUTextureDimension

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


format ​

readonly format: GPUTextureFormat

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


mipLevelCount ​

readonly mipLevelCount: number

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


sampleCount ​

readonly sampleCount: number

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


size ​

readonly size: object

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

depthOrArrayLayers ​

readonly depthOrArrayLayers: number

height ​

readonly height: number

width ​

readonly width: number


usage ​

readonly usage: GPUTextureUsageFlags

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


viewFormats ​

readonly viewFormats: readonly GPUTextureFormat[]

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

Open source / MIT licensed