|
Blender V4.3
|
#include <COM_cached_texture.hh>
Inherits blender::realtime_compositor::CachedResource.
Public Member Functions | |
| CachedTexture (Context &context, Tex *texture, bool use_color_management, int2 size, float3 offset, float3 scale) | |
| ~CachedTexture () | |
| GPUTexture * | color_texture () |
| GPUTexture * | value_texture () |
Additional Inherited Members | |
Public Attributes inherited from blender::realtime_compositor::CachedResource | |
| bool | needed = true |
Definition at line 45 of file COM_cached_texture.hh.
| blender::realtime_compositor::CachedTexture::CachedTexture | ( | Context & | context, |
| Tex * | texture, | ||
| bool | use_color_management, | ||
| int2 | size, | ||
| float3 | offset, | ||
| float3 | scale ) |
Definition at line 55 of file cached_texture.cc.
References BKE_image_pool_new(), BKE_texture_fetch_images_for_pool(), and blender::threading::parallel_for().
| blender::realtime_compositor::CachedTexture::~CachedTexture | ( | ) |
Definition at line 113 of file cached_texture.cc.
References GPU_texture_free().
| GPUTexture * blender::realtime_compositor::CachedTexture::color_texture | ( | ) |
Definition at line 119 of file cached_texture.cc.
Referenced by blender::nodes::node_composite_texture_cc::TextureOperation::execute().
| GPUTexture * blender::realtime_compositor::CachedTexture::value_texture | ( | ) |
Definition at line 124 of file cached_texture.cc.
Referenced by blender::nodes::node_composite_texture_cc::TextureOperation::execute().