TextureLoad2dKey
On this page

TextureLoad2dKey

Type in Types

Every non-array texture key a texel load accepts: the three sampled elements plus the multisampled f32 texture.

import type { TextureLoad2dKey } from 'typeshade'
import type { TextureLoad2dKey } from 'typeshade/core/ir'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

type TextureLoad2dKey =
'texture_2d<f32>' | 'texture_2d<u32>' | 'texture_2d<i32>' | 'texture_multisampled_2d<f32>';

Source

src/core/ir/node.ts, line 1860, at commit af54ddad5

Edit this page Report a problem