- putPixel
void putPixel(int x, int y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- putPixels
void putPixels(Pixel[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
- line
void line(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- vline
void vline(int x, int y0, int y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- hline
void hline(int x0, int x1, int y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(int x0, int y0, int x1, int y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(int x, int y, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(float x0, float y0, float x1, float y1, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source. Be warned that the author may not have intended to support it.
- COLOR
alias COLOR = BGRX
Undocumented in source.
- Bitmap
struct Bitmap
- canFastLock
bool canFastLock;
True when this renderer can lock quickly (usually when it's rendering in software).
- fastLock
Bitmap fastLock()
- lock
Bitmap lock()
Lock a 32-bit, BGRX/BGRA surface
- unlock
void unlock()
Unlock what was previously locked
- present
void present()
Finalize rendering and present it to the user (flip buffers etc.)
- shutdown
void shutdown()
Destroy any bound resources
- width
uint width [@property getter]
Undocumented in source.
- height
uint height [@property getter]
Undocumented in source.
- putPixel
void putPixel(int x, int y, COLOR color)
Undocumented in source.
- Pixel
struct Pixel
Undocumented in source.
- putPixels
void putPixels(Pixel[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
- line
void line(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source.
- vline
void vline(int x, int y0, int y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- hline
void hline(int x0, int x1, int y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(int x0, int y0, int x1, int y1, COLOR color)
Undocumented in source.
- fillRect
void fillRect(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source.
- clear
void clear()
Undocumented in source.
- draw
void draw(int x, int y, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source.
- draw
void draw(float x0, float y0, float x1, float y1, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source.
Draw on a streaming SDL_Texture, and present it