Skip to content

textureGather

textureGather<T>(…args): PrimitiveToLoadedType[T[typeof $internal]["type"]]

T extends texture2d<TextureSampleTypes>

Gather2dArgs<T>

PrimitiveToLoadedType[T[typeof $internal]["type"]]

packages/typegpu/src/std/texture.ts:603

textureGather<T>(…args): PrimitiveToLoadedType[T[typeof $internal]["type"]]

T extends texture2dArray<TextureSampleTypes>

Gather2dArrayArgs<T>

PrimitiveToLoadedType[T[typeof $internal]["type"]]

packages/typegpu/src/std/texture.ts:603

textureGather<T>(…args): PrimitiveToLoadedType[T[typeof $internal]["type"]]

T extends textureCube<TextureSampleTypes>

GatherCubeArgs<T>

PrimitiveToLoadedType[T[typeof $internal]["type"]]

packages/typegpu/src/std/texture.ts:603

textureGather<T>(…args): PrimitiveToLoadedType[T[typeof $internal]["type"]]

T extends textureCubeArray<TextureSampleTypes>

GatherCubeArrayArgs<T>

PrimitiveToLoadedType[T[typeof $internal]["type"]]

packages/typegpu/src/std/texture.ts:603

textureGather(…args): v4f

GatherDepth2dArgs

v4f

packages/typegpu/src/std/texture.ts:603

textureGather(…args): v4f

GatherDepth2dArrayArgs

v4f

packages/typegpu/src/std/texture.ts:603

textureGather(…args): v4f

GatherDepthCubeArgs

v4f

packages/typegpu/src/std/texture.ts:603

textureGather(…args): v4f

GatherDepthCubeArrayArgs

v4f

packages/typegpu/src/std/texture.ts:603