Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_image.h
| Show First 20 Lines • Show All 373 Lines • ▼ Show 20 Lines | |||||
| typedef enum { | typedef enum { | ||||
| UDIM_TILE_FORMAT_NONE = 0, | UDIM_TILE_FORMAT_NONE = 0, | ||||
| UDIM_TILE_FORMAT_UDIM = 1, | UDIM_TILE_FORMAT_UDIM = 1, | ||||
| UDIM_TILE_FORMAT_UVTILE = 2 | UDIM_TILE_FORMAT_UVTILE = 2 | ||||
| } eUDIM_TILE_FORMAT; | } eUDIM_TILE_FORMAT; | ||||
| /** | /** | ||||
| * Checks if the filename portion of the path contains a UDIM token. | |||||
| */ | |||||
| bool BKE_image_is_filename_tokenized(char *filepath); | |||||
| /** | |||||
| * Ensures that `filename` contains a UDIM token if we find a supported format pattern. | * Ensures that `filename` contains a UDIM token if we find a supported format pattern. | ||||
| * \note This must only be the name component (without slashes). | * \note This must only be the name component (without slashes). | ||||
| */ | */ | ||||
| void BKE_image_ensure_tile_token(char *filename); | void BKE_image_ensure_tile_token(char *filename); | ||||
| /** | /** | ||||
| * When provided with an absolute virtual `filepath`, check to see if at least | * When provided with an absolute virtual `filepath`, check to see if at least | ||||
| * one concrete file exists. | * one concrete file exists. | ||||
| ▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines | |||||