Value | Meaning |
---|---|
init | Rendering mode is not set |
Copy | Copies the pixels without any transparencies. The fastest as it only reads once. Best use is either GUI or lowest-layer. |
Blitter | Copies the pixels to the target using simple transparency. No effect from master-alpha values. Can be faster on less memory-bound machines. |
AlphaBlend | Blends the source onto the target, using both per-pixel alpha and master alpha. |
Multiply | Multiplies pixel channel values, then stores it in the destination. |
MultiplyBl | Multiply with alpha used as a blend between the original and target value. |
Screen | Composes the source to the destination using the following formula: 1 - (1 - dest) * (1 - src) |
ScreenBl | Screen with alpha used as a blend between the original and target value. |
Add | Adds with saturation the source to the destination. |
AddBl | Add with alpha used as a blend between the original and target value. |
Subtract | Subtracts with saturation the source from the destination. |
SubtractBl | Subtracts with saturation the source from the destination. Alpha determines how much of the source's other channels is used. |
Diff | Calculates the difference between the source and destination. |
DiffBl | Calculates the difference between the source and destination. Alpha determines how much of the source's other channels is used. |
AND | Logically ANDs the source to the destination. Alpha value is ignored. |
OR | Logically ORs the source to the destination. Alpha value is ignored. |
XOR | Logically XORs the source to the destination. Alpha value is ignored. |
Defines how the layer or sprite will be rendered. See each value's documentation individually for more information on each mode.