| 1234567891011121314151617181920212223242526 |
- return {
- summary = 'Get the texture for the layer.',
- description = [[
- Returns the texture for the layer. This is the texture that will be pasted onto the layer.
- ]],
- arguments = {},
- returns = {
- texture = {
- type = 'Texture',
- description = 'The layer\'s texture.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'texture' }
- }
- },
- notes = [[
- This function may return a different `Texture` object each frame. The return value should not
- be cached.
- ]],
- related = {
- 'Layer:getPass'
- }
- }
|