Function generateTextureBuiltinInputs1D
- generateTextureBuiltinInputs1D(...args): {
arrayIndex?: number;
bias?: number;
component?: number;
coords: vec1;
ddx?: vec1;
ddy?: vec1;
depthRef?: number;
derivativeMult?: vec1;
mipLevel: number;
offset?: vec1;
sampleIndex?: number;
}[] Parameters
Rest
...args: [n: number, args: TextureBuiltinInputArgs & {
method: "texel-centre";
} | TextureBuiltinInputArgs & {
loops?: number;
method: "spiral";
radius?: number;
}]
Returns {
arrayIndex?: number;
bias?: number;
component?: number;
coords: vec1;
ddx?: vec1;
ddy?: vec1;
depthRef?: number;
derivativeMult?: vec1;
mipLevel: number;
offset?: vec1;
sampleIndex?: number;
}[]