Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesdna/DNA_image_types.h')
-rw-r--r--source/blender/makesdna/DNA_image_types.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index 1c58d03a1a8..9a6cb24796f 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -91,11 +91,17 @@ typedef struct RenderSlot {
struct RenderResult *render;
} RenderSlot;
+typedef struct ImageTile_Runtime {
+ int tilearray_layer;
+ int _pad;
+ int tilearray_offset[2];
+ int tilearray_size[2];
+} ImageTile_Runtime;
+
typedef struct ImageTile {
struct ImageTile *next, *prev;
- /** Not written in file 2 = TEXTARGET_COUNT. */
- struct GPUTexture *gputexture[2];
+ struct ImageTile_Runtime runtime;
char ok;
char _pad[3];
@@ -114,7 +120,9 @@ typedef struct ImageTile {
enum {
TEXTARGET_TEXTURE_2D = 0,
TEXTARGET_TEXTURE_CUBE_MAP = 1,
- TEXTARGET_COUNT = 2,
+ TEXTARGET_TEXTURE_2D_ARRAY = 2,
+ TEXTARGET_TEXTURE_TILE_MAPPING = 3,
+ TEXTARGET_COUNT = 4,
};
typedef struct Image {
@@ -125,6 +133,8 @@ typedef struct Image {
/** Not written in file. */
struct MovieCache *cache;
+ /** Not written in file 4 = TEXTARGET_COUNT. */
+ struct GPUTexture *gputexture[4];
/* sources from: */
ListBase anims;