Blender V4.5
blender::gpu::TexturePool Class Reference

#include <GPU_texture_pool.hh>

Public Member Functions

 ~TexturePool ()
 
GPUTexture * acquire_texture (int width, int height, eGPUTextureFormat format, eGPUTextureUsage usage)
 
void release_texture (GPUTexture *tmp_tex)
 
void take_texture_ownership (GPUTexture *tex)
 
void give_texture_ownership (GPUTexture *tex)
 
void reset (bool force_free=false)
 

Static Public Member Functions

static TexturePoolget ()
 

Detailed Description

Definition at line 20 of file GPU_texture_pool.hh.

Constructor & Destructor Documentation

◆ ~TexturePool()

blender::gpu::TexturePool::~TexturePool ( )

Definition at line 18 of file gpu_texture_pool.cc.

References GPU_texture_free(), and tex.

Member Function Documentation

◆ acquire_texture()

◆ get()

◆ give_texture_ownership()

void blender::gpu::TexturePool::give_texture_ownership ( GPUTexture * tex)

◆ release_texture()

◆ reset()

◆ take_texture_ownership()

void blender::gpu::TexturePool::take_texture_ownership ( GPUTexture * tex)

The documentation for this class was generated from the following files: