shader()

Rendering / Shaders

Description

Applies a PShader to the rendering pipeline.

Syntax

void shader(PShader& s)

Parameters

NameTypeDescription
sPShaderthe shader to apply

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...