3DCoat Core API
The 3DCoat API documentation.
|
The image references. Look the cImage for the list of allowed operations. More...
#include <CoreAPI.h>
Public Member Functions | |
Image (const Image &im) | |
bool | Read (const char *name) |
Read the image from the file. | |
bool | Write (const char *name) |
Write the image to file. | |
bool | FromTexture (int texture_id) |
Get image from texture. | |
int | ToTexture () |
Create texture from image. | |
The image references. Look the cImage for the list of allowed operations.
bool coat::Image::FromTexture | ( | int | texture_id | ) |
Get image from texture.
texture | id |
bool coat::Image::Read | ( | const char * | name | ) |
Read the image from the file.
name | the image name |
int coat::Image::ToTexture | ( | ) |
Create texture from image.
bool coat::Image::Write | ( | const char * | name | ) |
Write the image to file.
name | the filename |