{
  "name": "Vibrant",
  "platform": [
    "macOS"
  ],
  "component": "gui",
  "header": "nativeui/vibrant.h",
  "type": "Class",
  "namespace": "nu",
  "inherit": {
    "name": "Container",
    "id": "container"
  },
  "description": "Translucency view.",
  "detail": "This view is only implemented for macOS by wrapping\n[`NSVisualEffectView`](https://developer.apple.com/documentation/appkit/nsvisualeffectview).\n\nIt is not possible to draw on this view, to display content on it you have to\nadd the content as child view.\n",
  "class_methods": [
    {
      "signature": {
        "returnType": {
          "name": "Vibrant",
          "id": "vibrant"
        },
        "name": "create",
        "parameters": [],
        "shortStr": "create()",
        "str": "create()"
      },
      "description": "Create a new `Vibrant` view.",
      "id": "create"
    }
  ],
  "methods": [
    {
      "signature": {
        "name": "setmaterial",
        "parameters": [
          {
            "type": {
              "name": "Vibrant::Material",
              "id": "vibrant_material"
            },
            "name": "material"
          }
        ],
        "shortStr": "setmaterial(material)",
        "str": "setmaterial(material)"
      },
      "description": "Set the material for the view.",
      "id": "setmaterial-material"
    },
    {
      "signature": {
        "returnType": {
          "name": "Vibrant::Material",
          "id": "vibrant_material"
        },
        "name": "getmaterial",
        "parameters": [],
        "shortStr": "getmaterial()",
        "str": "getmaterial()"
      },
      "description": "Get the material for the view.",
      "id": "getmaterial"
    },
    {
      "signature": {
        "name": "setblendingmode",
        "parameters": [
          {
            "type": {
              "name": "Vibrant::BlendingMode",
              "id": "vibrant_blendingmode"
            },
            "name": "mode"
          }
        ],
        "shortStr": "setblendingmode(mode)",
        "str": "setblendingmode(mode)"
      },
      "description": "Set the blending mode for the view.",
      "id": "setblendingmode-mode"
    },
    {
      "signature": {
        "returnType": {
          "name": "Vibrant::BlendingMode",
          "id": "vibrant_blendingmode"
        },
        "name": "getblendingmode",
        "parameters": [],
        "shortStr": "getblendingmode()",
        "str": "getblendingmode()"
      },
      "description": "Get the blending mode for the view.",
      "id": "getblendingmode"
    }
  ],
  "module": "yue.gui",
  "id": "vibrant"
}