Name

texture()

Examples
size(100, 100, P3D)
noStroke()
img = loadImage("laDefense.jpg")
beginShape()
texture(img)
vertex(10, 20, 0, 0)
vertex(80, 5, 100, 0)
vertex(95, 90, 100, 100)
vertex(40, 95, 0, 100)
endShape()
Description
Related textureMode()
textureWrap()
beginShape()
endShape()
vertex()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License