Skip to content

textmode.js / Textmodifier / resetShader

Method: resetShader() ​

ts
resetShader(): void;

Reset the current shader to the default solid color shader.

This clears both the active shader and any accumulated uniforms set via setUniform. Equivalent to calling shader(null).

Returns ​

void

Example ​