Canvas textures can be used to draw content to the texture during runtime, using the context property.
Canvas textures always start with black background and a red text "Canvas Texture".
Clear canvas texture with a background color.
Uses the internal context to draw a rect to fill the canvas.
Create JSON description for canvas texture, canvas image is not serialized.
Update the size of the canvas texture.
The texture is image is reset to the default.
Should be called after changing the width or height properties.
Canvas context 2D, can be used to draw content do the canvas texture.
Image is used to store a DOM canvas element.