Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function describeTextureFormat
Re-export
import { describeTextureFormat } from "https://deno.land/std@0.221.0/webgpu/mod.ts";

Get various information about a specific GPUTextureFormat.

Examples

Example 1

import { describeTextureFormat } from "https://deno.land/std@0.221.0/webgpu/describe_texture_format.ts";

describeTextureFormat("rgba8unorm-srgb");