textureMode()
Image / TexturesDescription
Sets the coordinate space for texture mapping. IMAGE uses pixel coordinates, NORMAL uses 0.0 to 1.0.
Syntax
void textureMode(int mode)
Parameters
| Name | Type | Description |
|---|---|---|
| mode | int | IMAGE or NORMAL |
Returns
voidRelated
Under the Hood
From Processing.h:
void textureMode(int mode);
Under the Hood
From Processing.cpp:
void PApplet::textureMode(int mode){ textureModeVal=mode; }