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.

References format, and size.

◆ TexturePoolKey() [2/2]

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

Member Function Documentation

◆ hash()

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

Definition at line 30 of file texture_pool.cc.

References format, blender::get_default_hash(), and size.

Member Data Documentation

◆ format

eGPUTextureFormat blender::realtime_compositor::TexturePoolKey::format

◆ size

int2 blender::realtime_compositor::TexturePoolKey::size

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