Layer:getTexture
EditReturns the texture for the layer. This is the texture that will be pasted onto the layer.
texture = Layer:getTexture()Notes
This function may return a different Texture object each frame. The return value should not be cached.
The texture will have the rgba8 format, with sample and render usage flags.