• Runtime
  • Examples
  • API
  • Lint rules

API reference

  • Ende namespace
    • Cloud
    • Desktop
    • Errors
    • Fetch
    • FFI
    • File System
    • GPU
    • HTTP Server
    • I/O
    • Linter
    • Network
    • Permissions
    • Runtime
    • Subprocess
    • Telemetry
    • Testing
    • WebSockets
  • Web platform APIs
    • Cache
    • Canvas
    • Crypto
    • Encoding
    • Events
    • Fetch
    • File
    • Geometry Interfaces Module API
    • GPU
    • I/O
    • Intl
    • Messaging
    • Performance
    • Platform
    • Storage
    • Streams
    • URL
    • Wasm
    • WebSockets
    • Workers
    • Other
  • Standard library

GPUTextureDescriptor

interface

interface GPUTextureDescriptor extends GPUObjectDescriptorBase

Properties

size

size: GPUExtent3D

mipLevelCount

mipLevelCount?: number

sampleCount

sampleCount?: number

dimension

dimension?: GPUTextureDimension

format

format: GPUTextureFormat

usage

usage: GPUTextureUsageFlags

viewFormats

viewFormats?: GPUTextureFormat[]

On this page

  • Properties
    • size
    • mipLevelCount
    • sampleCount
    • dimension
    • format
    • usage
    • viewFormats

Source on GitHub