texture2d
Call Signature
Section titled “Call Signature”texture2d<
T>(sampleType):WgslTexture2d<T>
Type Parameters
Section titled “Type Parameters”• T extends TextureSampleTypes
Parameters
Section titled “Parameters”sampleType
Section titled “sampleType”T
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/data/texture.ts:458
Call Signature
Section titled “Call Signature”texture2d():
WgslTexture2d<F32>