|
Blender V4.3
|
#include <COM_texture_pool.hh>
Inherited by blender::draw::compositor::TexturePool, and blender::render::TexturePool.
Public Member Functions | |
Texture Pool | |
| GPUTexture * | acquire (int2 size, eGPUTextureFormat format) |
| void | release (GPUTexture *texture) |
| void | reset () |
Definition at line 50 of file COM_texture_pool.hh.
| GPUTexture * blender::realtime_compositor::TexturePool::acquire | ( | int2 | size, |
| eGPUTextureFormat | format ) |
Definition at line 46 of file texture_pool.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last().
| void blender::realtime_compositor::TexturePool::release | ( | GPUTexture * | texture | ) |
Definition at line 60 of file texture_pool.cc.
Referenced by blender::realtime_compositor::Result::release().
| void blender::realtime_compositor::TexturePool::reset | ( | ) |
Definition at line 65 of file texture_pool.cc.
Referenced by blender::realtime_compositor::Context::reset().