{
  "header": "SDL_blendmode.h",
  "opaque_types": [],
  "typedefs": [
    {
      "name": "SDL_BlendMode",
      "underlying_type": "Uint32"
    }
  ],
  "function_pointers": [],
  "c_type_aliases": [],
  "enums": [
    {
      "name": "SDL_BlendOperation",
      "values": [
        {
          "name": "SDL_BLENDOPERATION_ADD",
          "value": "0x1",
          "comment": "dst + src: supported by all renderers"
        },
        {
          "name": "SDL_BLENDOPERATION_SUBTRACT",
          "value": "0x2",
          "comment": "src - dst : supported by D3D, OpenGL, OpenGLES, and Vulkan"
        },
        {
          "name": "SDL_BLENDOPERATION_REV_SUBTRACT",
          "value": "0x3",
          "comment": "dst - src : supported by D3D, OpenGL, OpenGLES, and Vulkan"
        },
        {
          "name": "SDL_BLENDOPERATION_MINIMUM",
          "value": "0x4",
          "comment": "min(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan"
        },
        {
          "name": "SDL_BLENDOPERATION_MAXIMUM",
          "value": "0x5"
        }
      ]
    },
    {
      "name": "SDL_BlendFactor",
      "values": [
        {
          "name": "SDL_BLENDFACTOR_ZERO",
          "value": "0x1",
          "comment": "0, 0, 0, 0"
        },
        {
          "name": "SDL_BLENDFACTOR_ONE",
          "value": "0x2",
          "comment": "1, 1, 1, 1"
        },
        {
          "name": "SDL_BLENDFACTOR_SRC_COLOR",
          "value": "0x3",
          "comment": "srcR, srcG, srcB, srcA"
        },
        {
          "name": "SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR",
          "value": "0x4",
          "comment": "1-srcR, 1-srcG, 1-srcB, 1-srcA"
        },
        {
          "name": "SDL_BLENDFACTOR_SRC_ALPHA",
          "value": "0x5",
          "comment": "srcA, srcA, srcA, srcA"
        },
        {
          "name": "SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA",
          "value": "0x6",
          "comment": "1-srcA, 1-srcA, 1-srcA, 1-srcA"
        },
        {
          "name": "SDL_BLENDFACTOR_DST_COLOR",
          "value": "0x7",
          "comment": "dstR, dstG, dstB, dstA"
        },
        {
          "name": "SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR",
          "value": "0x8",
          "comment": "1-dstR, 1-dstG, 1-dstB, 1-dstA"
        },
        {
          "name": "SDL_BLENDFACTOR_DST_ALPHA",
          "value": "0x9",
          "comment": "dstA, dstA, dstA, dstA"
        },
        {
          "name": "SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA",
          "value": "0xA"
        }
      ]
    }
  ],
  "structs": [],
  "unions": [],
  "flags": [],
  "functions": [
    {
      "name": "SDL_ComposeCustomBlendMode",
      "return_type": "SDL_BlendMode",
      "parameters": [
        {
          "name": "srcColorFactor",
          "type": "SDL_BlendFactor"
        },
        {
          "name": "dstColorFactor",
          "type": "SDL_BlendFactor"
        },
        {
          "name": "colorOperation",
          "type": "SDL_BlendOperation"
        },
        {
          "name": "srcAlphaFactor",
          "type": "SDL_BlendFactor"
        },
        {
          "name": "dstAlphaFactor",
          "type": "SDL_BlendFactor"
        },
        {
          "name": "alphaOperation",
          "type": "SDL_BlendOperation"
        }
      ]
    }
  ]
}