#include <c4d_basebitmap.h>
An alias link to a bitmap . If the bitmap is deleted it will return nullptr .
私有成员函数 |
|
| BaseBitmapLink () | |
| ~BaseBitmapLink () | |
Alloc/Free |
|
| static BaseBitmapLink * | Alloc (void) |
| static void | Free ( BaseBitmapLink *&bll) |
Get/Set Link |
|
| BaseBitmap * | Get () const |
| void | Set ( BaseBitmap *bmp) |
|
|
|
static |
Allocates a bitmap link. Destroy the allocated bitmap link with Free() 。使用 AutoAlloc to automate the allocation and destruction based on scope.
|
static |
Destructs bitmap links allocated with Alloc() 。使用 AutoAlloc to automate the allocation and destruction based on scope.
| [in] | bll | The bitmap link to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. |
| BaseBitmap * Get | ( | ) | const |
Gets the linked bitmap.
| void Set | ( | BaseBitmap * | bmp | ) |
Sets the link for the bitmap.
| [in] | bmp | The bitmap to be linked. |