LayerRenderingMode

Sets the rendering mode of the TileLayer.

COPY is the fastest, but overrides any kind of transparency keying. It directly writes into the framebuffer. Should only be used for certain applications, like bottom layers. BLITTER uses a custom BitBlT algorithm for the SSE2 instruction set. Automatically generates the copying mask depending on the alpha-value. Any alpha-value that's non-zero will cause a non-transparent pixel, and all zeros are completely transparent. Gradual transparency in not avaliable. ALPHA_BLENDING uses SSE2 for alpha blending. The slowest, but allows gradual transparencies.

Values

ValueMeaning
COPY
BLITTER
ALPHA_BLENDING

Meta