TextureSource

Base class for logical textures

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

TextureCanvas
alias TextureCanvas = ImageRef!(Renderer.COLOR)

Common type used by drawTo / getPixels

Functions

drawTo
void drawTo(TextureCanvas dest)

Request the contents of this TextureSource. Used when the target pixel memory is already allocated

getPixels
TextureCanvas getPixels()

Request the contents of this TextureSource. Used when a pointer is needed to existing pixel memory

Variables

renderData
TextureRenderData[enumLength!Renderers] renderData;

Renderer-specific texture data.

textureVersion
uint textureVersion;

Source version number of the texture.

Meta