Detailed Description

See also
SendPainterCommand()

Macros

#define PAINTER_SAVETEXTURE
 
#define PAINTER_SAVETEXTURE_FLAGS
 
#define PAINTER_SAVEBIT_SAVEAS
 
#define PAINTER_SAVEBIT_SAVECOPY
 
#define PAINTER_SAVEBIT_SAVEALLOWWARNING
 
#define PAINTER_SAVEBIT_RENAMEINSCENE
 
#define PAINTER_BRINGTOFRONT
 
#define PAINTER_LOADTEXTURE
 
#define LOADTEXTURE_FILENAME
 
#define PAINTER_FORCECLOSETEXTURE
 
#define PAINTER_CLOSETEXTURE
 
#define PAINTER_RELOADTEXTURE
 
#define RELOADTEXTURE_FILENAME
 

Macro Definition Documentation

◆ PAINTER_SAVETEXTURE

#define PAINTER_SAVETEXTURE

Save texture(s).
If doc!=nullptr all textures associated with doc are saved.
If tex!=nullptr only tex is saved, otherwise all textures are saved.

Note
Returns true if successful, otherwise false.

◆ PAINTER_SAVETEXTURE_FLAGS

#define PAINTER_SAVETEXTURE_FLAGS

Int32 Save texture flags:

◆ PAINTER_SAVEBIT_SAVEAS

#define PAINTER_SAVEBIT_SAVEAS

Save As.

◆ PAINTER_SAVEBIT_SAVECOPY

#define PAINTER_SAVEBIT_SAVECOPY

Save As Copy.

◆ PAINTER_SAVEBIT_SAVEALLOWWARNING

#define PAINTER_SAVEBIT_SAVEALLOWWARNING

Allow warnings.

◆ PAINTER_SAVEBIT_RENAMEINSCENE

#define PAINTER_SAVEBIT_RENAMEINSCENE

Rename.

◆ PAINTER_BRINGTOFRONT

#define PAINTER_BRINGTOFRONT

Bring the BodyPaint 3D application window to front (for exchange plugins). Private.

Note
Returns true.

◆ PAINTER_LOADTEXTURE

#define PAINTER_LOADTEXTURE

Load a texture.

Note
Returns the loaded PaintTexture if successful, otherwise nullptr.

◆ LOADTEXTURE_FILENAME

#define LOADTEXTURE_FILENAME

Filename The filename of the texture to load.

◆ PAINTER_FORCECLOSETEXTURE

#define PAINTER_FORCECLOSETEXTURE

Remove a texture from memory. Pass the texture to tex.

◆ PAINTER_CLOSETEXTURE

#define PAINTER_CLOSETEXTURE

Remove a texture from memory but ask if the texture is unsaved. Pass the texture to tex.

◆ PAINTER_RELOADTEXTURE

#define PAINTER_RELOADTEXTURE

Reload a texture in BodyPaint 3D and Cinema 4D's renderer lock list.

◆ RELOADTEXTURE_FILENAME

#define RELOADTEXTURE_FILENAME

Filename The filename of the texture to reload.