Scratch for Java

Sprite::getShaders()

Returns the shaders of this sprite. Shader handling lives behind this one method so that it does not crowd the everyday API.

Example usage:

this.getShaders().add("blur", "blur.frag", null);
 this.getShaders().switchTo("blur");

Syntax

Java

.getShaders()

Return

Shaders

getShaders()

Create Shareable URL

Select Sections