| 123456789101112131415161718192021222324252627282930 |
- return {
- tag = 'graphicsState',
- summary = 'Get the blend mode.',
- description = [[
- Returns the current blend mode. The blend mode controls how each pixel's color is blended with
- the previous pixel's color when drawn.
- If blending is disabled, `nil` will be returned.
- ]],
- arguments = {},
- returns = {
- {
- name = 'blend',
- type = 'BlendMode',
- description = 'The current blend mode.'
- },
- {
- name = 'alphaBlend',
- type = 'BlendAlphaMode',
- description = 'The current alpha blend mode.'
- }
- },
- notes = [[
- The default blend mode is `alpha` and `alphamultiply`.
- ]],
- related = {
- 'BlendMode',
- 'BlendAlphaMode'
- }
- }
|