Skip to content

ShaderFillType

enum ShaderFillType
Package: dev.joid.lib.shader.impl · Module: core · Source: ShaderFillType.java

What the rounded and circle shaders mask: the texture tinted by the color, the texture alone, or the color alone.

ValueSummary
AUTOMasks the bound texture multiplied by the vertex color, the case of shapes and images.
TEXTUREMasks the bound texture alone, premultiplied, the case of a shader pass on a framebuffer.
COLORMasks the vertex color alone and ignores the texture.

AUTO

Masks the bound texture multiplied by the vertex color, the case of shapes and images.

TEXTURE

Masks the bound texture alone, premultiplied, the case of a shader pass on a framebuffer.

COLOR

Masks the vertex color alone and ignores the texture.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page