Implements
Methods
generateTexture (displayObject, options) PIXI.RenderTexture
A Useful function that returns a texture of the display object that can then be used to create sprites This can be quite useful if your displayObject is complicated and needs to be reused multiple times.
| Name | Type | Attributes | Description | 
|---|---|---|---|
displayObject | 
            
            PIXI.IRenderableObject | 
                 The displayObject the object will be generated from.  | 
        |
options | 
            
            IGenerateTextureOptions | 
                
                    <optional> | 
            
            
            
                 Generate texture options.  | 
        
Returns:
| Type | Description | 
|---|---|
| PIXI.RenderTexture | a shiny new texture of the display object passed in |