APTR rhandle = hw_FindBrush(lua_ID *id, APTR handle);
hw_FindBrush()
will return its object identifier
in the lua_ID
passed in the first parameter. If the second parameter is NULL
,
hw_FindBrush()
will return the brush handle that matches the specified
object identifier. See Object identifiers for details.
Note that hw_FindBrush()
can currently only find handles to hardware brushes
allocated by your plugin. Brushes allocated by Hollywood or brushes that
use software bitmaps are currently unsupported.
lua_ID
containing or receiving an object identifierNULL