Function generateTextureBuiltinInputs3D
- generateTextureBuiltinInputs3D(...args): {
arrayIndex?: number;
bias?: number;
component?: number;
coords: vec3;
ddx?: vec3;
ddy?: vec3;
depthRef?: number;
derivativeMult?: vec3;
mipLevel: number;
offset?: vec3;
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: vec3;
ddx?: vec3;
ddy?: vec3;
depthRef?: number;
derivativeMult?: vec3;
mipLevel: number;
offset?: vec3;
sampleIndex?: number;
}[]