Blender V5.3
blender::wmDragAssetListItem Struct Reference

#include <WM_types.hh>

Classes

union  [union].asset_data

Public Attributes

wmDragAssetListItem * next
wmDragAssetListItem * prev
union  asset_data
bool is_external

Detailed Description

For some specific cases we support dragging multiple assets (WM_DRAG_ASSET_LIST). There is no proper support for dragging multiple items in the wmDrag/wmDrop API yet, so this is really just to enable specific features for assets.

This struct basically contains a tagged union to either store a local ID pointer, or information about an externally stored asset.

Definition at line 1353 of file WM_types.hh.

Member Data Documentation

◆ asset_data

union blender::wmDragAssetListItem::[union].asset_data blender::wmDragAssetListItem::asset_data

◆ is_external

bool blender::wmDragAssetListItem::is_external

Definition at line 1361 of file WM_types.hh.

Referenced by blender::WM_drag_add_asset_list_item().

◆ next

wmDragAssetListItem* blender::wmDragAssetListItem::next

Definition at line 1354 of file WM_types.hh.

◆ prev

wmDragAssetListItem * blender::wmDragAssetListItem::prev

Definition at line 1354 of file WM_types.hh.


The documentation for this struct was generated from the following file: