textureMode()

Image / Textures

Description

Sets the coordinate space for texture mapping. IMAGE uses pixel coordinates, NORMAL uses 0.0 to 1.0.

Syntax

void textureMode(int mode)

Parameters

NameTypeDescription
modeintIMAGE or NORMAL

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...