textureSampleBias
Call Signature
Section titled “Call Signature”textureSampleBias<
T>(texture,sampler,coords,bias):v4f
Type Parameters
Section titled “Type Parameters”• T extends texture1d<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
sampler
Section titled “sampler”coords
Section titled “coords”number
number
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:178
Call Signature
Section titled “Call Signature”textureSampleBias<
T>(texture,sampler,coords,bias,offset?):v4f
Type Parameters
Section titled “Type Parameters”• T extends texture2d<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
sampler
Section titled “sampler”coords
Section titled “coords”number
offset?
Section titled “offset?”Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:178
Call Signature
Section titled “Call Signature”textureSampleBias<
T>(texture,sampler,coords,arrayIndex,bias,offset?):v4f
Type Parameters
Section titled “Type Parameters”• T extends texture2dArray<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
sampler
Section titled “sampler”coords
Section titled “coords”arrayIndex
Section titled “arrayIndex”number
number
offset?
Section titled “offset?”Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:178
Call Signature
Section titled “Call Signature”textureSampleBias<
T>(texture,sampler,coords,bias,offset?):v4f
Type Parameters
Section titled “Type Parameters”• T extends texture3d<TextureSampleTypes> | textureCube<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
sampler
Section titled “sampler”coords
Section titled “coords”number
offset?
Section titled “offset?”Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:178
Call Signature
Section titled “Call Signature”textureSampleBias<
T>(texture,sampler,coords,arrayIndex,bias):v4f
Type Parameters
Section titled “Type Parameters”• T extends textureCubeArray<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
sampler
Section titled “sampler”coords
Section titled “coords”arrayIndex
Section titled “arrayIndex”number
number