Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_image_types.h
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | typedef struct Image { | ||||
| ListBase renderslots; | ListBase renderslots; | ||||
| short render_slot, last_render_slot; | short render_slot, last_render_slot; | ||||
| int flag; | int flag; | ||||
| short source, type; | short source, type; | ||||
| int lastframe; | int lastframe; | ||||
| /* GPU texture flag. */ | /* GPU texture flag. */ | ||||
| /* Contains `ImagePartialRefresh`. */ | |||||
| ListBase gpu_refresh_areas; | |||||
| int gpuframenr; | int gpuframenr; | ||||
| short gpuflag; | short gpuflag; | ||||
| short gpu_pass; | short gpu_pass; | ||||
| short gpu_layer; | short gpu_layer; | ||||
| short gpu_slot; | char _pad2[6]; | ||||
| char _pad2[4]; | |||||
| /** Deprecated. */ | /** Deprecated. */ | ||||
| struct PackedFile *packedfile DNA_DEPRECATED; | struct PackedFile *packedfile DNA_DEPRECATED; | ||||
| struct ListBase packedfiles; | struct ListBase packedfiles; | ||||
| struct PreviewImage *preview; | struct PreviewImage *preview; | ||||
| int lastused; | int lastused; | ||||
| ▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | #endif | ||||
| IMA_FLAG_UNUSED_15 = (1 << 15), /* cleared */ | IMA_FLAG_UNUSED_15 = (1 << 15), /* cleared */ | ||||
| IMA_FLAG_UNUSED_16 = (1 << 16), /* cleared */ | IMA_FLAG_UNUSED_16 = (1 << 16), /* cleared */ | ||||
| }; | }; | ||||
| /* Image.gpuflag */ | /* Image.gpuflag */ | ||||
| enum { | enum { | ||||
| /** GPU texture needs to be refreshed. */ | /** GPU texture needs to be refreshed. */ | ||||
| IMA_GPU_REFRESH = (1 << 0), | IMA_GPU_REFRESH = (1 << 0), | ||||
| /** GPU texture needs to be partially refreshed. */ | |||||
| IMA_GPU_PARTIAL_REFRESH = (1 << 1), | |||||
| /** All mipmap levels in OpenGL texture set? */ | /** All mipmap levels in OpenGL texture set? */ | ||||
| IMA_GPU_MIPMAP_COMPLETE = (1 << 1), | IMA_GPU_MIPMAP_COMPLETE = (1 << 2), | ||||
| }; | }; | ||||
| /* Image.source, where the image comes from */ | /* Image.source, where the image comes from */ | ||||
| enum { | enum { | ||||
| /* IMA_SRC_CHECK = 0, */ /* UNUSED */ | /* IMA_SRC_CHECK = 0, */ /* UNUSED */ | ||||
| IMA_SRC_FILE = 1, | IMA_SRC_FILE = 1, | ||||
| IMA_SRC_SEQUENCE = 2, | IMA_SRC_SEQUENCE = 2, | ||||
| IMA_SRC_MOVIE = 3, | IMA_SRC_MOVIE = 3, | ||||
| Show All 38 Lines | |||||