Skip to content

textureSample

const textureSample: DualFn<{<T>(texture, sampler, coords): v4f; <T>(texture, sampler, coords, offset?): v4f; <T>(texture, sampler, coords, arrayIndex, offset?): v4f; <T>(texture, sampler, coords): v4f; <T>(texture, sampler, coords, offset): v4f; <T>(texture, sampler, coords, arrayIndex): v4f; <T>(texture, sampler, coords, offset?): number; <T>(texture, sampler, coords, arrayIndex, offset?): number; <T>(texture, sampler, coords, arrayIndex?): number; }>

Defined in: packages/typegpu/src/std/texture.ts:114