Blender V5.0
final_image_cache.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
16
17#pragma once
18
19struct ImBuf;
20struct Strip;
21struct Scene;
22
23namespace blender::seq {
24
26 Scene *scene, float timeline_frame, int view_id, int display_channel, ImBuf *image);
27
28ImBuf *final_image_cache_get(Scene *scene, float timeline_frame, int view_id, int display_channel);
29
31 const float timeline_frame_start,
32 const float timeline_frame_end);
33
36
38
39size_t final_image_cache_get_image_count(const Scene *scene);
40
41} // namespace blender::seq
struct Scene Scene
ImBuf * final_image_cache_get(Scene *scene, float timeline_frame, int view_id, int display_channel)
void final_image_cache_invalidate_frame_range(Scene *scene, const float timeline_frame_start, const float timeline_frame_end)
void final_image_cache_destroy(Scene *scene)
void final_image_cache_clear(Scene *scene)
bool final_image_cache_evict(Scene *scene)
size_t final_image_cache_get_image_count(const Scene *scene)
void final_image_cache_put(Scene *scene, float timeline_frame, int view_id, int display_channel, ImBuf *image)