technique

PShape retained-mode geometry

PShape stores a shape's geometry, and optionally its color, as a reusable object built once with createShape(), instead of re-issuing drawing calls every frame.

Also called: PShape · createShape()

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.