texture()
Image / TexturesDescription
Sets a texture to be applied to vertex points. Must be called between beginShape() and endShape().
Syntax
void texture(PImage& img)
Parameters
| Name | Type | Description |
|---|---|---|
| img | PImage | image to use as texture |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...