ImageTextureSource

Undocumented in source.

Members

Functions

drawTo
void drawTo(TextureCanvas dest)
Undocumented in source. Be warned that the author may not have intended to support it.
getPixels
TextureCanvas getPixels()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

image
Image!(Renderer.COLOR) image;
Undocumented in source.

Inherited Members

From TextureSource

renderData
TextureRenderData[Renderers.max] renderData;
Undocumented in source.
textureVersion
uint textureVersion;
Undocumented in source.
TextureCanvas
alias TextureCanvas = ImageRef!(Renderer.COLOR)
Undocumented in source.
drawTo
void drawTo(TextureCanvas dest)

Used when the target pixel memory is already allocated

getPixels
TextureCanvas getPixels()

Used when a pointer is needed to existing pixel memory

~this
~this()
Undocumented in source.

Meta