Blender V4.5
wmDragAssetListItem Struct Reference

#include <WM_types.hh>

Classes

union  [union].asset_data

Public Attributes

wmDragAssetListItemnext
wmDragAssetListItemprev
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 1255 of file WM_types.hh.

Member Data Documentation

◆ asset_data

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

◆ is_external

bool wmDragAssetListItem::is_external

Definition at line 1263 of file WM_types.hh.

Referenced by WM_drag_add_asset_list_item().

◆ next

wmDragAssetListItem* wmDragAssetListItem::next

Definition at line 1256 of file WM_types.hh.

◆ prev

wmDragAssetListItem * wmDragAssetListItem::prev

Definition at line 1256 of file WM_types.hh.


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