diff options
author | Ton Roosendaal <ton@blender.org> | 2010-02-13 16:09:30 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-02-13 16:09:30 +0300 |
commit | b673f7318c9733f009acfae1b640ca14eec79047 (patch) | |
tree | 15c34a90d192b91a3f52b562fdbed0abd413e12b /source/blender/gpu/GPU_draw.h | |
parent | c1ee920db648af27a7912c997b270d2ed2fdf293 (diff) |
Added support for animated texture draw, GLSL textures.
Note, this is not like GE ffmpg, but Blender Image Texture
display for GLSL materials. Speed can be disappointing,
use smaller images for realtime edits.
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index c36af74e55e..d602d75bb35 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -38,6 +38,7 @@ extern "C" { #endif struct Image; +struct ImageUser; struct MTFace; struct Object; struct Scene; @@ -113,7 +114,7 @@ void GPU_paint_set_mipmap(int mipmap); void GPU_paint_update_image(struct Image *ima, int x, int y, int w, int h, int mipmap); void GPU_update_images_framechange(void); int GPU_update_image_time(struct Image *ima, double time); -int GPU_verify_image(struct Image *ima, int tftile, int tfmode, int compare, int mipmap); +int GPU_verify_image(struct Image *ima, struct ImageUser *iuser, int tftile, int tfmode, int compare, int mipmap); void GPU_free_image(struct Image *ima); void GPU_free_images(void); |