Uses of Class
org.openpatch.scratch.extensions.shader.Shader
Packages that use Shader
Package
Description
Provides shaders: small programs the graphics card runs for every pixel of a
sprite or of the whole stage, to change how it is drawn.
This package contains the internal classes of the Scratch plugin.
-
Uses of Shader in org.openpatch.scratch.extensions.shader
Methods in org.openpatch.scratch.extensions.shader that return ShaderModifier and TypeMethodDescriptionAdds a shader.Returns a shader by name.Shaders.getCurrent()Returns the shader currently drawn with.Constructors in org.openpatch.scratch.extensions.shader with parameters of type Shader -
Uses of Shader in org.openpatch.scratch.internal
Methods in org.openpatch.scratch.internal with parameters of type ShaderModifier and TypeMethodDescriptionvoidImage.draw(processing.core.PGraphics buffer, double size, double degrees, double x, double y, RotationStyle style, Shader shader) Draw the scaled image at a given position.voidImage.draw(processing.core.PGraphics buffer, double size, double degrees, double x, double y, RotationStyle style, Shader shader, double centerX, double centerY) Draw the scaled image so that a given point of it - its rotation center - sits at a given position, turned or mirrored about that point.voidImage.draw(processing.core.PGraphics buffer, float size, float degrees, float x, float y, Shader shader) Draw the scaled image at a given position.