Blender V4.3
blender::realtime_compositor::TexturePoolKey Class Reference

#include <COM_texture_pool.hh>

Public Member Functions

Texture Pool Key
 TexturePoolKey (int2 size, eGPUTextureFormat format)
 
 TexturePoolKey (const GPUTexture *texture)
 
uint64_t hash () const
 

Public Attributes

int2 size
 
eGPUTextureFormat format
 

Detailed Description

Definition at line 22 of file COM_texture_pool.hh.

Constructor & Destructor Documentation

◆ TexturePoolKey() [1/2]

blender::realtime_compositor::TexturePoolKey::TexturePoolKey ( int2 size,
eGPUTextureFormat format )

Definition at line 22 of file texture_pool.cc.

◆ TexturePoolKey() [2/2]

blender::realtime_compositor::TexturePoolKey::TexturePoolKey ( const GPUTexture * texture)

Definition at line 24 of file texture_pool.cc.

References GPU_texture_format(), GPU_texture_height(), and GPU_texture_width().

Member Function Documentation

◆ hash()

uint64_t blender::realtime_compositor::TexturePoolKey::hash ( ) const

Definition at line 30 of file texture_pool.cc.

References blender::get_default_hash().

Member Data Documentation

◆ format

eGPUTextureFormat blender::realtime_compositor::TexturePoolKey::format

Definition at line 25 of file COM_texture_pool.hh.

◆ size

int2 blender::realtime_compositor::TexturePoolKey::size

Definition at line 24 of file COM_texture_pool.hh.


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