mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
Javadocs.
This commit is contained in:
parent
ad5a64bb9e
commit
d519216b06
@ -444,8 +444,8 @@ public class SkeletonRenderer {
|
|||||||
return pmaColors;
|
return pmaColors;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** If true, colors will be multiplied by alpha before being sent to the GPU. Set to false if premultiplied alpha is not being
|
/** If true, colors will be multiplied by their alpha before being sent to the GPU. Set to false if premultiplied alpha is not
|
||||||
* used or if the shader does the multiplication. Default is false. */
|
* being used or if the shader does the multiplication (libgdx's default batch shaders do not). Default is false. */
|
||||||
public void setPremultipliedAlphaColors (boolean pmaColors) {
|
public void setPremultipliedAlphaColors (boolean pmaColors) {
|
||||||
this.pmaColors = pmaColors;
|
this.pmaColors = pmaColors;
|
||||||
}
|
}
|
||||||
@ -460,6 +460,7 @@ public class SkeletonRenderer {
|
|||||||
this.pmaBlendModes = pmaBlendModes;
|
this.pmaBlendModes = pmaBlendModes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Sets {@link #setPremultipliedAlphaColors(boolean)} and {@link #setPremultipliedAlphaBlendModes(boolean)}. */
|
||||||
public void setPremultipliedAlpha (boolean pmaColorsAndBlendModes) {
|
public void setPremultipliedAlpha (boolean pmaColorsAndBlendModes) {
|
||||||
pmaColors = pmaColorsAndBlendModes;
|
pmaColors = pmaColorsAndBlendModes;
|
||||||
pmaBlendModes = pmaColorsAndBlendModes;
|
pmaBlendModes = pmaColorsAndBlendModes;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user