EffectLayer

Puts various effects on the framebuffer (XOR blitter, etc).

Constructors

this
this()
Undocumented in source.

Members

Classes

EffectLayerCommand
class EffectLayerCommand

Stores various commands for effects

Enums

CommandType
enum CommandType
Undocumented in source.

Functions

addCommand
void addCommand(int priority, EffectLayerCommand command)

Adds a new command with the specified values.

removeCommand
void removeCommand(int priority)

Removes a command at the specified priority.

updateRaster
void updateRaster(void* workpad, int pitch, Color* palette, int[] threads)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Layer

mainRenderingFunction
void function(uint* src, uint* dest, size_t length) mainRenderingFunction;

Used to get around some readability issues. (void* src, void* dest, int length)

mainColorLookupFunction
void function(ushort* src, uint* dest, uint* palette, size_t length) mainColorLookupFunction;
Undocumented in source.
main8BitColorLookupFunction
void function(ubyte* src, uint* dest, uint* palette, size_t length) main8BitColorLookupFunction;
Undocumented in source.
main4BitColorLookupFunction
void function(ubyte* src, uint* dest, uint* palette, size_t length, int offset) main4BitColorLookupFunction;
Undocumented in source.
renderMode
LayerRenderingMode renderMode;
Undocumented in source.
sX
int sX;
sY
int sY;
rasterX
int rasterX;
rasterY
int rasterY;
Undocumented in source.
setRasterizer
void setRasterizer(int rX, int rY)

Sets the main rasterizer

setRenderingMode
void setRenderingMode(LayerRenderingMode mode)

Sets the rendering mode

scroll
void scroll(int x, int y)

Absolute scrolling.

relScroll
void relScroll(int x, int y)

Relative scrolling. Positive values scrolls the layer left and up, negative values scrolls the layer down and right.

getSX
int getSX()

Getter for the X scroll position.

getSY
int getSY()

Getter for the Y scroll position.

updateRaster
void updateRaster(void* workpad, int pitch, Color* palette, int[] threads)

Override this to enable output to the raster

flipHorizontal
void flipHorizontal(uint* src, int length)

Standard algorithm for horizontal mirroring

Meta