Skip to main content
Latest
function describeTextureFormat
import { describeTextureFormat } from "https://deno.land/std@0.224.0/webgpu/describe_texture_format.ts";

Get various information about a specific GPUTextureFormat.

Examples

Example 1

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

describeTextureFormat("rgba8unorm-srgb");

Returns

TextureFormatInfo