PixelPerfectEngine.graphics.layers

Undocumented in source.

Public Imports

PixelPerfectEngine.graphics.bitmap
public import PixelPerfectEngine.graphics.bitmap;
PixelPerfectEngine.graphics.common
public import PixelPerfectEngine.graphics.common;

Members

Classes

EffectLayer
class EffectLayer

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

Layer
class Layer

The basis of all layer classes, containing functions for rendering. TODO: Move rendering functions to an external library.

SpriteLayer
class SpriteLayer

General-purpose sprite controller and renderer.

TileLayer
class TileLayer

General purpose TileLayer with palette support, mainly for backgrounds. Use multiple of this class for paralax scrolling. Can use any kind of bitmaps thanks to code restructuring.

TransformableTileLayer
class TransformableTileLayer(BMPType = Bitmap16Bit, int TileX = 8, int TileY = 8)

Implements a modified TileLayer with transformability with capabilities similar to MODE7. <br/> Transform function: [x',y'] = ([A,B,C,D] * ([x,y] + [sX,sY] - [x_0,y_0])>>>8 + [x_0,y_0] <br/> All basic transform values are integer based, 256 equals with 1.0 <br/> Restrictions compared to standard TileLayer: <ul> <li>Tiles must have any of the following sizes: 8, 16, 32, 64; since this layer needs to do modulo computations for each pixel.</li> <li>Maximum layer size in pixels are restricted to 65536*65536 due to architectural limitations. Accelerated versions might raise this limitation.</li> </ul> HDMA emulation supported through delegate hBlankInterrupt.

Enums

LayerRenderingMode
enum LayerRenderingMode

Sets the rendering mode of the TileLayer.

Functions

localBlt
void localBlt(uint* src, uint* dest, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

ISpriteCollision
interface ISpriteCollision

Used by the collision detectors DEPRECATED! Use the new system instead!

ISpriteLayer
interface ISpriteLayer

General SpriteLayer interface.

ITileLayer
interface ITileLayer

Tile interface, defines common functions.

SpriteMovementListener
interface SpriteMovementListener

Use it to call the collision detector DEPRECATED!

Structs

MappingElement
struct MappingElement
Undocumented in source.

Meta